Add hidden field ordering for postgresql

In postgresql environment, when some hidden fields are used in orderBy clause,
they're not property added because $rsm->scalarMappings don't have information about them.
Revert "Add hidden field ordering for postgresql"

This reverts commit 3e8796f78188e193aac7386b38b7e17da3df5718.
Add test for postgresql hidden scalar sorting
Fixed postgresql hidden scalar sort
Fix DDC-2475
Merge pull request #686 from FabioBatSilva/DDC-2475

[DDC-2475] Replace OrderBy mapping when OrderByClause is given
Fixed rendering

Fixed some broken rendering on http://docs.doctrine-project.org/en/latest/reference/yaml-mapping.html
Merge pull request #687 from mnapoli/patch-3

Fixed rendering
Implement QuoteStrategy on SqlWalker walkRangeVariableDeclaration

Based on:
http://www.doctrine-project.org/jira/browse/DDC-1845
https://github.com/doctrine/doctrine2/commit/cb72219b118c158c9b5344c4b81ff2b1a9149ab0
Adding simple test to ensure quoting of table names still functions.  Note: the funtionality of this change won't be noticiable unless a custom quote strategy is implemented
updating sql walker to use quote strategy in joins
updating sql walker to use quote strategy in joins
Fix DDC-1995
Merge pull request #689 from FabioBatSilva/DDC-1995

[WIP][DDC-1995 ] Support metadata class as parameter for instance of expression
DDC-1858 Added coverage to ticket. Functionality already implemented.
Modified identity function to work with joined inheritance tables.
Added regression tests
Fix typo in test name
Merge pull request #691 from 51systems/master

IDENTITY function fix for Joined Inheritance
DDC-2489 Added missing semicolon when dump-sql on schema update.
DDC-2476 Better approach for reverse engineer. Some refactoring done to driver.