[#1184] Remove auth_sysadmins_check decorator from package_create

There is no reason why sysadmins should need to use the auth function.
[#1184] Update user checks in package create and update auth functions

The `auth_is_registered_user` function's name is misleading, as it only checks
if there is a user on the Pylons context object (ie if it is logged in).
It has been renamed to `auth_is_loggedin_user`, keeping the old as
deprecated. The function is not used anymore on the auth functions, as
the user should be always present in the context dict passed to the
functions (The controller sets context['user'] to c.user).

Conflicts:

	ckan/new_authz.py
[#1184] Fix failing test due to not providing the user
[#1184] Revert 243cd1c with a better anon user check

Due to how the controllers set up the user in the context it was
impossible with the current logic to identify an anonymous request on
the auth functions.
On ckan/lib/base.py:232 the following are set on the pylons context object
(c):

* Anon request (not logged in):
    c.user = None
    c.author = IP (or 'Unknown IP Address')
* Logged in user:
    c.user = User name
    c.author = User name

Once in the controllers, these are normally used in:

    context = {'user': c.user or c.auhtor}

That means that once in the auth functions we need way to check if
a call is anonymous that works both for requests made via the web
(object c) or called directly from an extension, where the user is
defined directly on the context. The new `auth_is_anon_user` function
does that.

Ideally this should be handled automatically at a higher level, and the
logic layer should always work with users defined on the context object.
[#1241] Raise CkanVersionException properly
[#1192] ust get to get headers
[#1295] Don't return private datasets on package_list
[#1106] Don't accept invalid URLs in resource proxy
Default API_URL to SITE_URL if missing

Otherwise file uploads and other calls where broken when using CKAN in
a non-root location.
[#1307] Minor docs correction
Rebuild frontend
Update CHANGELOG for 2.1.1 release
[#1309] Fix placeholders in non-root locations
Tweak CHANGELOG
Change version number for 2.1.1 release
Merge tag 'ckan-2.1.1' into canada-v2.1
[#1078] store show_package_schema-validated data_dict in SOLR
[#1078] package index: treat missing type as default type
[#1078] validated data dict store missing as null
[#1078] data_dict may still be used when schema passed