Added CORS (Cross Origin Request) filter for the RESTful api.
This feature allows cross domain querys.