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.
compareString(): timing depends only on length of `$actual` input, unit test
Merge branch 'master' of git://github.com/yiisoft/yii2 into 4469-compareString-without-shortcut
Merge pull request #4474 from tom--/4469-compareString-without-shortcut

4469 compare string without shortcut
Remove nonsense branch logic
Merge pull request #4475 from tom--/remove-else-after-return

Remove nonsense branch logic
Avoid endless loop when exporting logs

fixes #4470
Mistype
Merge pull request #4480 from russianlagman/patch-1

Mistype
fixed typo

fixes #4480
guide on ajax validation

fixes #4482