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.
small doc adjustments
date formatter iteration
refactored number formatting
finsihed formatter implementation

neads cleanup
moved formatter to i18n namespace
Merge branch 'master' into Erik-r-2359-formatter-refactored

* master: (1112 commits)
  Removed unused "use" statements
  Fixed array syntax
  Removed unused "use" statements
  Перевод runtime-handling-errors.md на русский язык
  Mark tests with problematic DBMS as skipped.
  Fixes #3511: Dropped `yii.allowAction()` and modified `yii.confirm()` in `yii.js` to support callbacks
  Update runtime-url-handling.md
  Update runtime-url-handling.md
  Update runtime-url-handling.md
  Update runtime-url-handling.md
  Update runtime-url-handling.md
  Create runtime-url-handling.md
  Fixed test break.
  Fixes #3410: yii.activeForm.js now supports adding/removing fields dynamically
  Fixes #2914: `ActiveForm::fieldConfig` will be merged recursively with the `$options` parameter in `ActiveForm::field()`
  Fixes #4936 [skip ci]
  Reverted/fixed some incorrect changes.
  missing "." sign
  Fixed formatting, initialized options array
  Fixed phpdoc
  ...

Conflicts:
	framework/CHANGELOG.md
	framework/base/Formatter.php
	framework/i18n/Formatter.php
	tests/unit/framework/base/FormatterTest.php
	tests/unit/framework/i18n/FormatterTest.php
finished currency formatter
unit tests and some locale depended fixes
ensure some BC

ensure some features that were recently added to formatter keep working after refactoring
refactored size format