Refactor CORS settings as class attributes
CORS decorator
Register decorated methods in cors_allow_methods
Fix for case-sensitive comparison on method names
Remove unecessary assignment
Merge branch 'cors' into develop

* cors:
  Remove unecessary assignment
  Fix for case-sensitive comparison on method names
  Register decorated methods in cors_allow_methods
  CORS decorator
  Refactor CORS settings as class attributes