Reestructuro los paquetes para separar mejor las responsabilidades de cada manejador de eventos. Agrego/corrijo tests para el validador, el paginador y el evento de paginación.
Added tests for CollectionFormatter class.
Added test for FormatResourceHandler class.
Corrected missing paramters in CreateDatabaseCommand.
Corrected wrong calls to paginator in the CollectionFormatter class.
Added call to getArraycopy in the ResourceFormatter since now its receiving an ArrayObject object.
Wrapping arrays in ArrayObject in the Model class in order to be used in the controller event handlers.
Added methods getOptions and getOptionsList in the Model class.
Added exceptions and different event handlers to distinguish a successful request from one with errors.
Fixed ContentNegotitationMiddleware to only set the correct status code.
Fixed FormatResourceHandler unit test.