uritemplate:lexer: add captures and options

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