Send JSONP response for data if requested
Move cache control for pages from apache to silex