Issue 686 creating an application

To be merged together with PyBossa/pybossa#789