HQLPARSER-39 Detection of unconsumed tokens must take non-buffered tokens into account

* ensure the internal token buffer of CommonTokenStream is filled from the underlying TokenSource (lexer) before checking if any tokens are left unmatched
* detect EOF by comparing on token type rather than token text (this is just for efficiency, not actually necessary for fixing the main issue)
* add more trailing token test cases to gUnitHQLGrammar.testsuite
HQLPARSER-40 Making sure legacy "in class" syntax is supported
HQLPARSER-41 Disabling tests using exists clause with legacy join syntax
Fix checkstyle problems

* also fix compile warnings
HQLPARSER-24 Provide JPA to Lucene translation for 'order by' clause

* LuceneQueryParsingResult exposes now the Sort object corresponding to the 'order by' clause
* modify the grammar to trigger the appropriate methods in the delegate object when the sort criteria is reached
* The SingleEntityQueryRendererDelegate is responsible for handling the sort criteria and its specialised subclasses must build the Sort object for the target language
* make the LucenePropertyHelper available to LuceneQueryRendererDelegate to be able to determine the type of the property based on FieldBridge type
* public access for LucenePropertyHelper.getFieldBridge(  )