updated dependencies
rearranged the 'before install' in .travis.yml
updated dependencies for tests
added .jshintrc to tests
updated test to comply with newer version of chai