[api] add CORS support to REST api
Merge branch 'develop' of github.com:flukso/fls into develop