make template location relative to script

* this allows it to work in a vendored ruby directory.
* allows using from source called from a difference cwd
Merge pull request #16 from paulczar/bug/template_locatio

make template location relative to script