[1584] Fix config option that hides organisation report.

Clean up plugin.py - PEP8, use plugins.toolkit,
tidy up imports
Clean up: imports, PEP8
Use ckan table style for five star and broken link reports
Whitespace clean up
[1587] Give datasets a score of 0 if license is not open.

Some more whitespace/PEP8 clean up.
[#1587] Check for related packages before setting is_open
Change celery and kombu requirements to match ckanext-datastorer
Bug fix: make sure CSS is relative to correct site URL.
[reports]: Include last_updated fields in reports.resource_five_stars.
[Merge]
Fix up tests. Emacs niceties with the slashes.
Rename logger so that it is recognised as an extension in common configurations that filter out non ckan loggings.
Merge remote-tracking branch 'origin/release-v1.7.1' into cleanup

Conflicts:
	ckanext/qa/commands.py
	ckanext/qa/tasks.py
Fix merge error
Serve Genshi or Jinja2 templates
Helper function qa_stars added
Override ckan base templates
Move home controller into unified controller
Merge qa package into controller.py
Merge qa organisation into controller.py