Upnp discover hardware resource added

added upnp discovery and fixed some documentation bugs. please review my code :)
you might fix the const & here too while you're at it...