Test infrastructure improvements

I added a Cakefile to run tests and added test/test_helper.coffee as a place to store common setup for specs.