Adds a basic Solr ORM

This commit introduces a limited mechanism for defining a layer
declaratively. The underlying Solr access is abstracted away.