[#1241] Raise CkanVersionException properly
[#1192] ust get to get headers
[#1295] Don't return private datasets on package_list
[#1025] User log in/out fixes including i18n and non standard root url

Conflicts:

	ckan/controllers/user.py
	ckan/lib/repoze_patch.py
[#1025] Fix failing tests due to extra redirect etc (stupid tests)
[#1039] make sure came_from url is sane (local)
[#1039] Fix for own domain
[#1106] Don't accept invalid URLs in resource proxy

Conflicts:

	ckanext/resourceproxy/tests/test_proxy.py
Default API_URL to SITE_URL if missing

Otherwise file uploads and other calls where broken when using CKAN in
a non-root location.