Massively refactored the Controllers into the API controller

The API controller now handles all the standard REST request items:

* GET /
* GET /{id}
* GET /create
* GET /{id}/update
* PUT /{id}
* POST /{id}
* POST /
* DELETE /{id}

I've also added PHPDOC to all methods in the class, and moved the
model and transformer representations to this class.
Ensured the checkFormatting() method was in all models.
Made the other current models to use the GenericModel class

This requires the creation of a $rules array, so as not to fail
validation.
Set the default value for the slottype_id value.
Added the Slot features

* Testing, extended from the existing test features.
* Extending the controller from the existing ApiController.
* Setting up the SlotTransformer.
* Adding the routing statement.
Add the defaultslot features to the tree.

* Defaultslot Transformer
* Controller (extended from the ApiController)
* Testing
* Routing