Add missing variables function

At some point the uritemplate module added a variables function. This
adds that interface to maintain compatibility.

Closes #26
4 files changed