Infinispan modularity

This is for _master_ only, I'll send different pull requests for branches 4.4 and 4.5 when this is integrated as these need a slightly different solution, but would hope to get this one accepted first.

https://hibernate.atlassian.net/browse/HSEARCH-1692

The summary of the changeset is to add

    currentThread.setContextClassLoader( InfinispanConfigurationParser.class.getClassLoader() );

before parsing the Infinispan configuration file.
I'm sorry, it's indeed very complex and I came to this relatively small patch after many hours of debugging and failed alternatives. If you want to understand the whole picture we can certainly discuss that but please read my related mails to mailing list first, then ask me specifics. Considering your very limited involvement in this area, the compromise of checking the tests and form will have to do as a compromise otherwise as spending many more days on this is not an option :-/
I'll be happy to go through it on a whiteboard.