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