Arbitrary Join count walkers solution

Possible solution for Arbitrary Join problem in pagination count
walkers:
https://groups.google.com/forum/#!topic/doctrine-user/rpPYCDNKOU8

Added a condition to test query component against  SelectStatement from
clause
 Root selection according other pagination tools

changed root selection in Walkers from looping queryComponents to using
$AST->fromClause as other walkers have
Added Tests for Arbitrary Join
fixed typos in tests
Updated Asset queries

Missing  braces and selected fields
CS Fixes
Changed calling $from[0] to using reset($from)

changed usage $from[0] according suggestion from @Ocramius  to use array
reset function
Merge pull request #1092 from birko/pagination-count-walker

[DDC-2794] Arbitrary Join count walkers solution
Extended the docs for mapping attributes precision and scale
Fixed small typo in documentation about extra lazy associations #DWEB-118
Merge pull request #1148 from naitsirch/hotfix/DWEB-118

[DWEB-118] Fixed small typo in documentation about extra lazy associations
Merge pull request #1147 from naitsirch/master

Extended the docs for mapping attributes precision and scale
Adding note about a minor BC break: d2 does not call `__clone` on new objects anymore.
Fixed missed initialization in CommitOrderCalculator.php
Fixing calls of schema-update tools

composer-generated binaries should be called without php interpreter.

Added reminder to update schema.
Update QueryBuilder reference documentation.

- Updated the signature of methods "from", "innerJoin" and "leftJoin"
  since it does not match the actual implementation.

- Added reference to the "join" method.
Merge pull request #1158 from josemalonsom/update-query-builder-ref-doc

Update QueryBuilder reference documentation.
Merge pull request #1157 from gennadiylitvinyuk/patch-1

Fixing calls of schema-update tools
Merge pull request #1156 from NAYZO/patch-1

Fixed missed initialization in CommitOrderCalculator.php
Merge branch 'master' of github.com:doctrine/doctrine2