Fix DoesNotExist when non admin visits /admin

SitePermission objects are only added when staff users are created.  If a non admin user (with no manually assigned site permissions) visits the admin a DoesNotExist is raised since no site permissions exist for the user.  Therefore the templatetags logic should only run if the user is staff.
Merge