Fixes #18763 -- Added with_perm to User manager.

with_perm returns a queryset of users who have a permission matching the
given permission name.

https://code.djangoproject.com/ticket/18763