Bug 825904 - Added DocStrings, Depreceated get_lan_ip() method, Added NetworkError exception class for network errors. r=wlach