TRUNK-5559 Implemented a mechanism so that listeners can be notified whenever a new full text query object is created (#2993)
* TRUNK-5559 Implemented a mechanism so that listeners can be notified whenever a new full text query object is created.
* Moved FullTextSessionFactory to org.openmrs.api.db package
* Converted FullTextSessionFactory into an interface and added an implementation