Remove dependency on activesupport

Having activesupport for this is pretty overkill and bloats the gem space
unnecessarily (especially as this is likely to be used as a system gem).

I've pulled across the few syntactic niceties that seem to be used, but
I'll happily refactor the code to remove the dependence on them if you
would prefer.