Permissions: Use User over PootleProfile
Permissions: Use User in get_matching_permissions()
Permissions: Change check_profile_permission() to check_user_permission()
Permissions: Minor style fixes