refactor tests using rewire
added tests for package_info.js
added tests for template processor
separate git_info from main project
added travis-ci status
should run tests