CRM-13986 - REST - Add features and test case:

* Add support for filtering collections
* Add support for inserting items
* Add XML output
* Implement DELETE
* Change JSON mime type
* Revise error messages
* Enforce @CiviAPI\Permission annotations
Temporarily tweak annotations for REST compatibility
Remove CRM_Core_Container (in favor of Civi\Core\Container)