Add resource-url-analytics CSS class to 'Raw Data' links

ckanext-googleanalytics uses the resource-url-analytics CSS class to
find links to add Google Analytics Event Tracking to. The Download links
on resource read pages already have this class. Add it to the Raw Data
links next to the resources on dataset read pages as well.
[docs] Remove docs about editing database ownership

Remove some docs that seem to refer to the old way of running multiple
CKAN instances on one server where each CKAN has its own linux user
called ckanINSTANCE. I don't think these docs are relevant any more and
just confuses people.
[#1664] Make group activity streams smarter

Make group_activity_list() return all activities where the object of the
activity is either the group or any of the group's datasets, instead of just
the group as before.

Also check that the user has 'group_show' access to the group before returning
the activity stream, this plugs an access leak where a user who did not have
'group_show' access could still get the group's activity stream.

Update some existing tests that were broken by the new permission check.

Tests for the new group activity stream content need to be added.
[#1664] Add group activity stream page

You can now see a group's activity stream at /group/activity/GROUP_NAME.

This page is not integrated into the rest of the group pages yet like
the user activity stream page is with the user pages, but can be in
future if we want.

Also remove c.group_activity_stream from the group read context as it's
not used so no need to compute it.
Remove direct logic function access from test_activity.py

Make functional/api/test_activity.py post to the API whenever it wants
to create, update or delete users, packages, groups, etc.

Also gets rid of the need to access resource_list_dictize() directly.
Remove direct model access from test_activity.py

Import ckan.model only where needed and don't retain model objects, in
many cases replace accessing the model with going through the API
Fix an import in test_activity.py

Follow the CKAN Coding Standards for imports
test_activity.py PEP8 fixes
Remove some commented-out tests
[#1664] Convert group names to ids in group_activity_list()

This fixes a bug where calling group_activity_list with the group's name
as the id parameter would return less results than if you called it with
the group's id.
[#1664] Add some tests for group activity streams

Add some tests for the new smarter group activity streams. There were
already tests that changes to the group itself (created, updated or
deleted group) appear in the group's activity stream, now add some tests
that changes to the group's packages appear in the group's activity
stream.

These tests are not ideal, test_activity.py needs refactoring it's too
complicated.
Add auth checks to activity streams API functions
Merge branch 'master' of github.com:okfn/ckan into feature-1664-smarter-group-activity-streams
Merge pull request #163 from okfn/add-analytics-class-to-resource-links

Add resource-url-analytics CSS class to 'Raw Data' links
Re-ran production less compilation to keep it up to date
Removed uneeded disqus.less empty file that was causing LESS compilation problems
Re-ran ./bin/less and re-compiled main.css
[#1664] Use field name in internationalized error.
Merge branch 'feature-1664-smarter-group-activity-streams'
[doc/theme][xs]: update to latest version of the doc theme.