Gns alterations

bunch of alterations. 

this'll let us do stuff like:
       appfirst_alert {'disk_test':
           ensure       => present,
           server_name  => $::fqdn,
           type         => 'Server',
           threshold    => 20,
           trigger_type => 'Disk',
           direction    => 0,
           alert_name   => 'disk is full',
           part_name    => '/dev/sda1',
           username     => $username,
           api_key      => $api_key,
           debug_output => true,
         }

to create alerts in appfirst over the http api's. It also fixes at least two security flaws in the way the module works. I believe this would be enough to put appfirst across the estate for load testing the service.