initial commit
moved phantomjs invocation to mocha test
reorganized tests to support jinja2 templating