adding a gitignore
parameterizing the "resolveURLTemplates", and adding another macro
adding another test case
Merge pull request #30 from shaqq/master

Gitignore, and shinier "resolveURLTemplates"