Updated NetworkConnect to not leak Activity in AsyncTask. Also:
* Persist through config changes.
* Fixed LINT errors.
* Refactored and removed unused code.
* Switched to TextView instead of Log fragment.
* Switched to HTTPS connection.
* Check for connectivity before network request.

Change-Id: I7f941275ab40179a7652cf4f28565e1ba24948d6
9 files changed