Convert networking into ASyncTask with progress bar.

Finish implementation of UPCDatabase, add unit tests, and finish
converting networking tasks into ASyncTasks.