Update tests to run in browsers and node.

Updated build process to convert all json in
test/data into a javascript variable so no http requests
are required.

Updated npm test to run testem ci, which will use the
testem.json to configure the tests.