Add a filter for supporting Cross origin resource sharing.

This filter adds support for Cross origin resource sharing ( http://en.wikipedia.org/wiki/Cross-origin_resource_sharing )

All feedback welcome :)