HQLPARSER-11

Generifying predicate types from Lucene and moving them to core module in order to re-use them for creating other query types