Hibernate search added

Added hibernate search for JP QL support and querying purposes. @Indexed
anotation on entities introduced. Test fix.