[#744] Start writing tests for page-view tracking
[#744] Add tracking_enabled = true to test-core.ini

This makes the test_tracking.py tests pass
Merge branch 'master' of github.com:okfn/ckan into 744-tests-for-page-view-tracking

Conflicts:
	test-core.ini
[#943] First draft if new writing extensions tutorial
[#943] Reformat setup.py_tmpl

Spaces, not tabs. Also fix random indentation.
[#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.
[#943] Delete an unwanted return

This should not have been committed
[#943] Add some minimal extension best practices

There's probably a lot more to mention here.
Merge branch 'master' of github.com:okfn/ckan into 744-tests-for-page-view-tracking
[#943] Add tutorial section on error handling in extensions
[#943] Add __init__.py files to examples/iauthfunctions

These are needed for the extension to load successfully.
[#943] Move the example iauthfunctions extension

Put it in the same place as example_idatasetform etc.
[#943] Rename example_iauthfunctions plugin modules

Adding a v makes it clearer that they're successive versions of the same
module.
[#943] Update includes in writing-extensions docs
[#943] Delete stray __init__.py file
[#943] Edit the writing extensions tutorial

Lots of minor edits
[#943] Show .. todo:: items in Sphinx output
[#943] Add tests for example_iauthfunctions
[#943] Add some docs about testing extensions
[#943] Update some includes in writing extensions docs