Add phantomjs and test structure generators
Combine all tests into one html file.
Move the test building to the Cakefile