RESTful api

In order to use the new REST feature. You have to use the `REST.resolve` method

Give it a IResource object and it will redirect to the correct method `put`, `post`, `delete` or `get` method depending on the HTTP request with an optional `id`.