Add javascript tracker and give Blocmetrics capability to receive events from the tracker.
Minor code cleanup
Refactor api spec, add checks for 404 status and json structure
DRY up API spec
Change js test framework to jasmine; TDD js_webstub
Rename description of test in js spec
Merge pull request #7 from wasafiri/Ajax

Add javascript tracker and give Blocmetrics the capability to receive and record events from the js tracker.