Refactor of jfryman/puppet-nginx with chains, single interface, and no external dependencies