Various fixes including phantomjs fix

Fixed form module, still contained reference to discontinued context
variable
Fixed zero module to work in phantomjs
Added phantomjs to package dependancies
Edited the testing files to use the phantomjs included in the package
dependancies