Fixed CSS code style.
Document access constants.
Added documentation.
Upgraded and completed migrations.
Bugfixing migrations.

async package is used now. And we should not create cachedId for
documents which are not cached.
Simplified migrations' names.
Fixed the path in migrations.
Run migration on the correct document.
Explain why my-publications-importing endpoint is needed.
Updated PeerDB.
Merge pull request #330 from peerlibrary/permissions

Permissions
Merge branch 'master' into groups-design

Conflicts:
	client/css/_viewer.styl
Finishing the merge.