Refactored quickstack_defaults.rb

Added hostgroups to nodes.pp feature

Handling facter version 2.x