Send entity as argument to schema methods

Hi, really like your work.

I needed the entity in the schema methods, so I added it as an argument, and updated
the readme to reflect changes.

Also cleaned up some jshint-suggestions.

Hope you can use it.