Fixed #6327 -- Added has_module_permission method to BaseModelAdmin

* Added tests for this new method and for the other ones:
  * has_add_permission()
  * has_change_permission()
  * has_delete_permission()
* Updated the documentation
don't need an else here (raising PermissionDenied short-circuits), that'll make the diff less scary too.