Upnp discover hardware resource added

added upnp discovery and fixed some documentation bugs. please review my code :)
don't really need the const & here as it doesn't save us anything... doesn't really hurt either... rest of guh doesn't use it on ints