Added testing suite with Karma and Jasmine

Travis will run all tests in spec folder with extension of .js