Made curl honor location redirects, fixed templatelist.txt url path generation (TUI-43)
Amended remote url generation (TUI-43)
Improved resiliance url preprocessing (TUI-43)
Merge pull request #99 from opennode/TUI-43

Made curl honor location redirects, fixed templatelist.txt url path gene...