More configuration refactorings.

Added the ability to use the repository to read from files.

Pulled the insert methods of the repository out of the base repository and into the sql repository implementation. I did this because I don't have the logic written to do file inserts yet.
Now consumers of this don't need to mess with connection resolvers.

I also made the Repository disposable.