Fixes a Fatal Error when using a subexpression in parenthesis

When some dql contains a subselect with expression in parenthesis, the
expression of the $simpleSelectExpression parameter given to
walkSimpleSelectExpression is an instance of AST\ParenthesisExpression.
Before this commit, this case defaulted to
$this->walkEntityIdentificationVariable($expr) where $expr is supposed
to be a string. A fatal error was then yielded.
Merge pull request #819 from vbourdeix/master

Fixes a Fatal Error when using a subexpression in parenthesis
Second level cache
Extract cache config
Fix persister query cache invalidation
Fix CS and update docs