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