More robust vendor prefix detection.

The previous implementation depended on CSS3 transforms being vendor-prefixed,
and would assume no vendor prefix if the browser supports transforms natively.
Now we detect the vendor prefix on a case-by-case prefix, rather than assuming a
single global prefix.