Added test for the website on the project.
Fixed problem with json writing
Added javascript tests (these integrate with the server)

Also Added test suites and the server can now be used for javascript
tests too