Refactor ChangeHostName for EL.

Based off of the Debian pattern. Need to add tests.

Related to #2653 and #2592
Unit tests for ChangeHostName on Enterprise Linux
Merge pull request #2663 from acharlieh/el-refactor-change-host-name

guests/redhat: refactoring of EL Change Host Name