implemented injection of a context into template rendering, so that patterns will have access to parameters and config values. Needed in order to get the nepho-example Vagrantfile to work properly.