Janky module system works in require() and injectJs()

Separated generic object functions into own file
Fix bookmarklet, add deprecation warning

Fixes #37
Run jslint and ratiocinator tests in travis
Pass nodelint
Add travis badge to readme
Merge branch 'travis'

* travis:
  Add travis badge to readme
  Pass nodelint
  Run jslint and ratiocinator tests in travis