use custom CORS filter

The ebay CORS filter do not handle well request coming from Cordova Apps. This PR introduce almost the same CORS filter adding some support for Cordova Clients
Do we really want to put that here, instead of the examples?