added base repository and specifications interfaces
added implementation of LoginSpecification for user
Refactoring: moved doctrine helper to infrastructure
Refactoring: using repositories instead of queries and removed QueryFactory
Merge pull request #1 from idr0id/refactoring_specification

Refactoring queries to repositories with specifications