Fixed some path issues with rewritten urls.
Implemented optional callbacks callOnInit, callOnUpdate, callOnEach.
Updated sample to work with latest version.
Updated sample to work with latest version.
Some minor fixes and optimizations. Added Gruntfile and package.json for build process.
Going for version 1.0.0.