Moved silex providers to reusable components

Refactored providers
 * ContentNegotiationServiceProvider
 * CorsServiceProvider
 * JmsSerializerServiceProvider