dispatcher: hook uritemplate.Template generation in addHandler()

Signed-off-by: Alejandro Mery <amery@geeks.cl>
uritemplate.Template: add initial support for literals

Signed-off-by: Alejandro Mery <amery@geeks.cl>
uritemplate.Template: add initial support for EOL

Signed-off-by: Alejandro Mery <amery@geeks.cl>