Added encoding of parameter names (see #265 and #266)
Fixes #267. Parentheses inside literals in link parameters break parsing
Closes #89. Allow variable templates in link paths