Change list actions to be list_actions so their nature is more explicit
Adding test to check if view permissions have been created.
Moving create_extra_permissions to the more appropriate permissions module.