ItemsContentProvider: Remove some useless commented-out code.
ItemsContentProvider: Correct a typo in a method name.
ItemsContentProvider, HttpUtils: Rearrange some methods for clarity.

This lets us make some private too.
ItemsContentProvider: Avoid crashes during test cases due to MockContext limitations.