Add Cors headers
To be able to use API from external client we need a proper support of Cors header. This change add CORSPlug
with defaults configurations. This change also include some changes to the router, to add support for pre flight request (OPTIONS).