Clean up Solr configuration, moving defType to a user parameter.

Closes #34.