Refactored formatter class #2359 which works with or without intl extension. Use PHP format patterns alsow with intl. Class is compatible with previous version.
Namespace corrected #2359
Typo in function call #2359
remove comment lines in asRelativeTime
#2359 testcases adapted and compatibility to old tests improved
#2359 one test failed in Travis because standard medium date format is different in Travis then on my locale PC.
#2359 Bugfix in normalizeDatetimeValue after regression test
Merge branch '2359-formatter-refactored' of https://github.com/Erik-r/yii2-1 into Erik-r-2359-formatter-refactored

* '2359-formatter-refactored' of https://github.com/Erik-r/yii2-1:
  #2359 Bugfix in normalizeDatetimeValue after regression test
  #2359 one test failed in Travis because standard medium date format is different in Travis then on my locale PC.
  #2359 testcases adapted and compatibility to old tests improved
  remove comment lines in asRelativeTime
  Typo in function call #2359
  Namespace corrected #2359
  Refactored formatter class #2359 which works with or without intl extension. Use PHP format patterns alsow with intl. Class is compatible with previous version.
refactored date formatting functions

- removed unformat methods, they do not belong here
- removed db format, which is also not purpose of this class
- refactored the whole set of methods to be simpler and better
  maintainable

More unit tests needed.
remove FormatDefs file

we do not want our own i18n database.
When this kind of data is needed intl extension is a requirement.
Adding CORS filter to allow Cross origin resource Sharing
Adding enhancement CORS
Move methods
Fix changelog
Merge branch 'master' into feature/CORS
Allow the user to override the request like in RateLimiter
Fix multiple headers management in Access-Control-Request-Headers
Allow the user to remove field by nulling it's value. Usefull for Access-Control-Max-Age
Remove static functions
Adding CORS documentation