fixed view error with job_type_group
use a decorator to provide the jobs model
code cleanup
Merge branch 'refs/heads/webservice-cleanup' into api-updates-for-ui

Conflicts:
	treeherder/webapp/api/views.py