Issues #461 and #486

Issue #461: Add a script service for accessing patient data
Issue #486: Add a Solr core for indexing patient data
Good enough for a first iteration.