Added delete_host_by_ipid() function, fixed some bugs and corrected docu...

...mentation