[chore] Code cleanup, jshint change, added test

- Fixed issue with module definition for new API
- Changed JShint rule to use " rather than '
- Changed files to use "
- Copied over test for the new API
Merge pull request #27 from alex-deaconu/master

[chore] Code cleanup, jshint change, added test