Action Auth Audit

This is some initial work around the auth functionality.

It does some code refactoring and audits that each action call calls the appropriate auth functions.

As ckan is as it is we have missing auth functions and some functions that do not call their auth function.  We Add some code so that this does not cause problems.

We also change the original action functions so that even if they are called incorrectly that the rules are applied.

When this is merged the next part of the plan is to automatically call the auth functions for simple actions (those that do not need internal logic before the auth functions are called) and to simplify the auth functions for common tasks (sysadmins only/anyone/logged_in_users ...)