WIP - CS-5033: Removes protocol from urls

First step
What else would you suggest? This is, as far as i could find, the only smarty function that generates absolute URLs.