Refactor: move repositories to core and extensions
Small bugfixes and refactor
Merge branch 'issue-repositories' into memory-repositories

* issue-repositories:
  Small bugfixes and refactor
  Refactor: move repositories to core and extensions

Conflicts:
	pybossa/repositories/task_repository.py