[#1332] Makes markdown link a popover with context of CKAN flavoured markdown
[#1419] Move URL locality checking to helpers

This allows the function to be also used for similar purposes outside
the user controller.

Also rename the function to be more descriptive in this general
setting.
[#1419] Check that redirection target is local
[#1419] Abort with 403 when attempting external redirect
Now installing *.json files from configuration too

Otherwise, ``resource_formats.json`` wouldn't get installed by ``pip install``, causing this kind of issues: http://paste.pound-python.org/show/OlykESJdUBcEw3SgJ7aA/
[#1419] Better status for when no param supplied. Added test.
Merge branch 'pr/1613'
Merge pull request #1618 from rshk/patch-1

Now installing *.json files from configuration too
[#1332] Not sure it is a flavour unique to CKAN - just said HTML is stripped. Added link example.
Merge branch '1332-markdown'
[#1332] Fix bad import in test.