[#1532] Fix bug where url_for_static added leading slash in absolute urls
[#1519] Fix organization activity filter in dashboard

The old implementation had the same type for orgs and groups and when an
org was selected a 404 was returned because group_show was called.

I didn't go all the way down separating both, ie group_followee list
still returns both groups and orgs.
[#1519] Separate group / org follow actions
[#1519] Fix test
[#1612] Check before showing 'Show more $facet'
[#1532] url_for_static shouldn't work with external URLs. Revert f50a3b.

url_for_static shouldn't allow urls that aren't served in CKAN's static folder,
as this might lead to CSRF vulnerabilities if used with non-escaped user input.
[#1532] url_for_static doesn't accept external URLs and create url_for_static_or_external

The intent of the developer when using url_for_static() is to get the URL for
something that's served in the static folder inside CKAN. It should fail if
called with an external URL. This avoids a possible CSRF vulnerability, if we
allow user-provided input into url_for_static().

For the case when we want to either accept a static object's URL or an external
URL, for example when setting up the g.site_logo, I wrote the
url_for_static_or_external method. This makes it clearer what the user accepts.
[#1532] Fix PEP8 issues
Merge branch 'master' into 1532-bug-where-url-for-static-adds-leading-slash-for-absolute-urls

Conflicts:
	ckan/templates/header.html
Remove whitespace from resource URL
[#1532] Use only {{ }}, not {% %}

We don't need multiple ways of calling the same method.
Remove duplicate 'the'.
Merge pull request #1638 from johnjohndoe/patch-1

Remove duplicate 'the'.
Merge pull request #1519 from ckan/1519-fix-orgs-in-dashboard

Activity Stream from: Organization Error group not found
Remove unwanted stuff
Add unittests for new converter
Don't special case limit=0
Merge branch '1612-facets-show-more'
Merge branch '1532-bug-where-url-for-static-adds-leading-slash-for-absolute-urls'
Merge pull request #1634 from ckan/1634-whitespace

Trailing whitespace in resource URLs not stripped