Properly handle initial connection failures.

In that case, the DownloadManager query returns status as PAUSED,
downloaded bytes as 0, total bytes as -1 and local file name isn't set
yet. Make sure to properly handling this case by:
- showing indeterminate progress
- using the remote instead of the local URI to determine the update file
  name

Change-Id: I6cfd3d4cdfad5fa1a2be0ad12cd421f36c3c5a1f
Cleanup: Remove shared pref settings instead of overwriting them with
dummy values.

Change-Id: I28dd86911ba86b6c787a5f6313fffed63f773cee
Merge "Properly handle initial connection failures." into cm-10.2
Merge "Cleanup: Remove shared pref settings instead of overwriting them with dummy values." into cm-10.2