Redirect, Social sharing (1)

* No JS popup when redirecting (request by Nicoline)
* Social sharing: working on seperating social sharing logic into
specific functions. This is needed to re-use the logic in other widgets,
for example the Blog posts widget.