I'd be very nervous about extending this beyond drunk driving.
With DUIs, breathalyzers are essentially "proof" of the crime (to the extent that there is ever incontrovertible proof for any crime). And if you refuse a breathalyzer, you've violated the implied consent law, so there's no ambiguity there either. You may be able to get off on a technicality, but it's rather difficult to abuse this, short of a police officer falsifying breathalyzer results outright.
But for most other crimes, there's a lot of ambiguity, which is why we have a separation between LEOs and the court system. I'm already uncomfortable with the level of unchecked power that LEOs (and non-LEOs, like the TSA) have today. I really don't want them to have any more leeway with detention of civilians.