added test frameworks

added karma
added mocha
updated test frameworks and version
added travis config file
added basic tests