added documentation and made the generation of screenshot names and meta data configurable by injecting callback functions
better readme & jshintrc