uniform if syntax
use urlencode in tagcloud links
 * prevents unproper escaping of characters like '&'
 * fixes https://github.com/sebsauvage/Shaarli/issues/85
 * fixes https://github.com/shaarli/Shaarli/issues/48
Merge pull request #54 from nodiscc/tagcloud-urlencode

use urlencode in tagcloud links
Merge pull request #59 from tst2005/master

uniform if syntax
Do not add a tag to the search if it's already being searched for
Merge pull request #60 from pikzen/master

Do not add a tag to the search if it's already being searched for.
 * Fixes https://github.com/shaarli/Shaarli/issues/50
 * Fixes https://github.com/sebsauvage/Shaarli/issues/140
Skip webserver port detection if running behind a reverse proxy