Issue #886: Added support for CORS on the Router object. The RESTful aPI can not be called from JS x-domain.