Adding server integration test.

- only has a single test to create (PUT) a new document.
Adding a very basic javascript client test project.
Adding more cors options.
Cleaning up test.