Add a bunch of tests for lib/vulcan

Add test polymer "app"

Bug found during tests: Call eof on CSP'd scripts buffer