WIP
Updated migration and template
WIP
Updated migration and template
Fixes problem with is_sysadmin_by_context where auth_user_obj is set to None in the context.

check_access will set auth_user_obj to None in the context if the key isn't present.  This means that if you call check_access before the c.userobj is set, it breaks (NoneType has no attribute sysadmin).
Provides a new command to easily qa migrate a single resource
Merge branch '978-broken-resource-icons' of github.com:datagovuk/ckanext-dgu into 978-broken-resource-icons

Conflicts:
	ckanext/dgu/commands/dgu_init_db.py
Merge branch '978-broken-resource-icons'