Making patient search Lucene analyzers configurable

@raff @mogoodrich I’ve got Lucene AnalyzerDefs being provided programmatically with a factory class! See Jira ticket, PR.

However, I haven’t succeeded in overriding it from a module. Here’s my attempt (no, I’ve never really worked with Spring or Hibernate before). Is this the right way to go about providing custom analyzer definitions?