fix bug 1063580 - Synchronize template URL format between kuma and kumascript

Supersedes https://github.com/mozilla/kuma/pull/2729 with 2 more tests for the `kumascript.get` logic.