[#1011] Fix a 500 to a 404

Catch Genshi TemplateNotFound errors when rendering the package read
page. This can happen if an IDatasetForm plugin returns a custom package
read template, e.g. 'read.html', but the user has requested the dataset
in RDF format and the plugin does not provide a corresponding 'read.rdf'
template. (CKAN will take the path to read.html, replace the filename
extension with rdf, try to render this non-existing template file, and
crash.)

Replace this crash with a proper 404.

Add to the IDatasetForm docs, explaining how to provide RDF templates
for datasets.

Fixes #1011.
[#1011] Refactor an exception raise and catch

Raise and catch a CKAN exception, instead of a Genshi one.
Merge branch 'master' of github.com:okfn/ckan into 1011-template-not-found
Merge branch 'master' of github.com:okfn/ckan into 1011-template-not-found

Conflicts:
	ckan/lib/base.py
[#1011] Fix a broken import in the package controller

An exception was not getting caught because of the way this import was
done.
[#1011] base.py: Explicitly re-raise TemplateNotFound

Functions should not implicitly raise exceptions by failing to catch
exceptions raised by functions that they call, they should explicitly
catch and re-raise the exceptions instead.
[#1011] Update some exception handling in template.py

Catch the new ckan.lib.render.TemplateNotFound exception that render()
now raises, not the Genshi exception it used to.
[#1224] propogate the NotAuthorized exception extra messages to api
[#1241] Raise CkanVersionException properly
1200 make sure all users can submit job
[#1200] Quick tidy up of the resource_edit based templates
Handle the case where the group doesn't exist
[#1257] Check for permissions against owner_org

Fix tests that were passing because they depended on this breakage.
Merge branch 'master' into 1257-package-create
[#1200] Tidies up the resource data view into something a little nicer
Merged master
Merge pull request #1279 from okfn/1257-package-create

Fix package_create auth function to check for owner_org instead of organization_id
Coveralls badge should show coverage default branch in readme
Merge pull request #1287 from okfn/coveralls-master-badge

Coveralls badge should show coverage default branch in readme
Forgot to change branch specification in Coveralls' badge