Fix up email changes
Merge branch 'master' of https://github.com/joomla/joomla-platform into emailvalidation

Conflicts:
	media/system/js/validate.js
Add some new tests for quote.
Fix and expand JDatabaseQuery tests.

Fixed mocking of the quote method in TestMockDatabaseDriver to allow for
an array of strings to be quoted.
Fixed a bug in JDatabaseQuery->quote that escaped strings before sending
them to the JDatabaseDriver->quote method ($escape argument was not
being honoured).
Added the escape method to TestMockDatabaseDriver.
Added covers to and improved code coverage of the JDatabaseQuery class.
Small array merging optimization
Resolving possible Undefined variable notice when $currentAssetId has not yet been created
Changing resolution of $currentAssetId possible being undefined
Code formatting changes to resolve all code formatting errors reported by PHP Codesniffer using  joomla / coding-standards from https://github.com/joomla/coding-standards
Update documentation for 12.3
Merge pull request #1767 from pasamio/release-update

Update documentation for 12.3
Fix and expand JDatabaseQuery tests.

Fixed mocking of the quote method in TestMockDatabaseDriver to allow for
an array of strings to be quoted.
Fixed a bug in JDatabaseQuery->quote that escaped strings before sending
them to the JDatabaseDriver->quote method ($escape argument was not
being honoured).
Added the escape method to TestMockDatabaseDriver.
Added covers to and improved code coverage of the JDatabaseQuery class.
Allows JViewHtml->getPath to set the extension of the layout file.

Allows for a different extension to be set for the layout
file. Adding a default extension to getPath easily allows the developer
to derive their own views with a new default.
Merge pull request #1765 from betweenbrain/currentAssetId

Resolving possible Undefined variable notice $currentAssetId
Merge pull request #1742 from garyamort/premature-optimization

Small array merging optimization
Merge pull request #1694 from elinw/emailvalidation

Update email validation to HTML5 standard and to allow longer top level domains
Merge pull request #1733 from elinw/quotetests

Add some new tests for quote.
Merge pull request #1737 from eddieajau/database

Fix and expand JDatabaseQuery tests.
Merge pull request #1735 from eddieajau/mvc

Allows JViewHtml->getPath to set the extension of the layout file.
Revert "Small array merging optimization"

This reverts commit bc57b93e3f7ae274721df01d2e886111b9752a32.
Merge pull request #1770 from ianmacl/revert_jtext

Revert "Small array merging optimization"