Fix URL generation in permalink service

This reverts 2713c99. window.location.protocol is "http:" or "https:" - the protocol include the ":" character.
Merge pull request #53 from geoadmin/dev_permalink-fix

Permalink URL has several times the same URL