Merge branch 'release-v2.0' into 2.0-dataset-sources

Conflicts:
	ckanext/harvest/logic/action/get.py
	ckanext/harvest/tests/test_queue.py
Move logic from setup_template_variables to helper functions
Merge branch '2.0-dataset-sources' into 4-new-auth-for-2.0

Conflicts:
	ckanext/harvest/logic/action/get.py
[#4] Refactor authorization functions

The authorization functions have been refactored to take into account
both the new organizaton based authorization on CKAN core and the
harvest source datasets.

Basically at the source level, authorization checks are forwarded to the
relevant package auth function (package_create, package_update, etc.)
wich will check for organizations membership, sysadmin, etc.

Also we only use functions available on the plugins toolkit whenever
possible.
[#4] Minor change on the state field to fix a bug on harvest_source_show
[#4] Remove the loading of different authorization profiles

The different profiles will be now configured via the harvest source
datasets on CKAN core, so it is no longer needed.

Also simplify IActions and IAuthFunction hook calls.
[#4] Remove authorization functions for the publisher profile

The different profiles will be now configured via the harvest source
datasets on CKAN core, so they are no longer needed.