Make $solr and $repositry protected

This allows definition of queries in custom repositories
Merge pull request #87 from frne/allow-custom-queries-in-repository

Allow custom queries in repositories