fix issue where single characters settings were not being saved.

see https://github.com/boxen/puppet-git/issues/30
modify test to compare to a hash which better tests the state of each setting
also update @@COMMENTED_SETTING_REGEX to be roughly equal to "(\s*)[#;]+" + @@SETTING_REGEX
Merge pull request #126 from huan/master

fix issue where single characters settings were not being saved.