Cleaner implementation of rendering templates.  Puts logic into gyp instead of using sed in Makefiles (patching the same Makefile).
Now rendering .spec file too.