Jasmine tests

initial work on a Jasmine test suite & support for Travis CI