feature detects for CSS ch, em and ex units

PR for #1206

I ripped off the code from the `cssremunit` test, but I made it slightly more efficient.
could you swap these out to the standard `e` (in both locations)?

also, could you DRY up this a tiny bit by setting `modElem.elem.style` to a var