Error handling updates

Updated host_create and vm_create to duplicate entry error from database
nagios_configuration.pl creates vm entries as well as base host