fix issues,add features in facter.php

- add hostname as visible label
- fixed new machine was added without submitted serial number 
- update hostname when hostname was changed, identify host by unique serial number