Generate code for UrlTemplate expansion

This avoids having a UrlPattern/UrlTemplate class which parses
URL templates at runtime.

We do know the URL Templates at codegen time which allows us to produce a
string expression from the variables directly.

TBR=sgjesse@google.com

Review URL: https://codereview.chromium.org//403463004