add karma test task
use npm test or
./node_modules/karma/bin/karma start karma.conf.js
to run test
gulp test
use PhantomJS to run test
remove unused lib
add unit-test report
use test/spec path
Update README.md