Fix a type cast bug in ContentServer

- Use the Content type instead if the newContent type in the
  ContentServer.add which caused PUT to fail.
Add a test suite for the REST ContentServer

- Import the ContentServer WADL
- Add a test suite with a load test