CRM-13986 - REST - Add test case. Add support for filtering collections.
CRM-13986 - REST - Add XML output
CRM-13986 - REST - Misc:

* Implement DELETE
* Change JSON mime type
* Revise error messages
Temporarily tweak annotations for REST compatibility