Decouple

This code allows the nginx module to be used outside of the Puppet Labs environment.  It also updates templates to use the new method of accessing variables.