update package.json
add karma spec runner with jasmine and phantomjs
updated karma conf and demo test spec