Add own hostname system checker

New KAFO is going to drop this hardcoded check. This is extracted and improved from Kafo. We require rubygems but facter can be loaded from libs as well. I assume rubygems are installed on every ruby installation.