[#285] Remove code in base controller that is not used in the ckan codebase
[#285] Re add function mis-used in api controller
[#285] _make_unicode() still has user
Merge branch 'master' into 285-base-controller-code-removal
[#285] Move function into only function using it
[#285] Move function into API controller as only user
[#285] Fix missing imports
[#285] Use json defined in h
[#252] Check_access helper function does not need data_dict supplying
[#252] Only show add related item button if permission to add
309 no private datasets in activity streams, revisions, group listing and tag listings
[#287] Add is_datastore_supported method to tests and engine_is_pg to model
[#287] Log warning if the database is not a pg database. Skip datastore tests, if there is no support for them.
make group_list_dictize reasonably fast by going through search index
[#309] add package count using search index
[#316] Disable follower lists

Disable follower lists for normal users

Make it so that only sysadmins can see a dataset, user or group's list
of followers.

Add auth functions to user, dataset and group follower_list functions.

user controller, group controller, package controller:
  /followers pages send 401 if not authorized

Remove followers tabs from user, dataset and group pages.

Some tests need to be fixed now
[#316] Update follower api tests

Make it pass a sysadmin's API key whenever calling *_follower_list,
since only sysadmins are authorised to call that now.
[#319] Added extra state to .select2-container that handles error state better
[#319] Rebuild of main.css
[#316] Update follower frontend tests