Merge pull request #726 from PyBossa/issue-720-app-factories

Issue 720 app factories
Merge branch 'master' into issue-687-app-blogs

* master:
Fixed alembic history