Don't clobber core's methods var

Not nice, causes compilation errors
Replace inefficient doc-to-hash function

Use the `create` method build into PersistentArrayMap make this
2-3x faster
Merge pull request #7 from travis/master

Replace inefficient doc-to-hash function