[SEARCH] Changed operator for preference from AND to OR
[SEARCH][FIX] Don't create query for blank parameters
[PERSISTENCE][FIX] Fixes for elasticsearch 1.0.0RC1

NOTE: Elasticsearch 1.0.0RC1 and higher is required
[APPLICATION] Display an exception on STDOUT