Create and use HasPermission.checkPermission

To include superuser checks and standardize permissions.  There may be a
few lingering omissions.
Fix warning
Merge branch 'master' of github:databrary/play

Conflicts:
	app/views/crud/partyHeader.scala.html