Minor fixes.
Elasticsearch now only listens for requests from localhost. Could also set 'http.enabled: false' for production, but that would block the REST API calls.
Change in MongoDB Java driver: getLastError has been replaced by a WriteConcern setting to determine whether a write has been performed.