Added Ruby 1.9.3 compatibility, changed Puppet code to use the puppetlabs/firewall module and optimized scripts