DATASOLR-72 - Create schema for entities.

Additional tests, cleanup, missing toString() methods for debugging.