Added Jasmine tests, Karma config & Travis config.