jshint the code base, addded karma testing framework, grunt, and test file. also aded travis configuration