Inheritance and filesystem templates.

* Added ability to extend from file system
* Also incorporated compileFromFile method
* Added a template_dir flag to indicate where templates live on
  filesystem.