refactor(app): change the way how domain is registered

introduce `init_app` method in app modules which will get called when
a new app is being created via `get_app` factory
fix(domain): register resources defined via superdesk.domain
fix(celery): setup celery.Task only once