Merge pull request #21 from kashivreddy/resetnw_in_old_xentools

fixed typo in Properties file

Removed restart during sethostname

added running pre and post commit hooks

Added reboot functionality and flags to allow us to control the continued processing of commands on service shutdown and reboot flag.
Merge pull request #22 from csdhome/pre_post_command_hooks

Added pre and post command hooks and reboot functionality if a rename is needed during the resetnetwork command.