Remove implicit dependency on active support

Refactor away Hash#slice call, use each_with_object to do the
work instead.
Merge pull request #1 from tjmw/remove-implicit-activesupport-dependency

Remove implicit dependency on active support