[FOR REVIEW] ISPN-3335 JMX statistics for Queries do not work after adding new classe...

...s to SearchFactory

In Infinispan we use SearchFactory reconfiguration when adding new classes. This process actually builds a new SearchFactory behind the scenes which should preserve all state and config of the old one, plus the new added classes.

Please integrate in master.

Jira: https://issues.jboss.org/browse/ISPN-3335