Permissions/UI changes and CanCan bugfixes
Only uploaded documents get a temporary 'pending' state