Added configuration option for repo factory
Bump doctrine to 2.4, add tests for repository factory
Merge pull request #275 from davidwindell/feature-config-repofactory

Added configuration option for RepositoryFactory