Introduce karma.
Use karma-mocha-reporter.
use mocha style in karma debug page.
Add the XHR test which uses API mock server.
Add the script to execute tests.
Define npm test.
Merge pull request #3 from saneyuki/test

Define 'npm test'