Clean up some code, remove unused apklib, and add better error reporting.

Added error reporting for when a server connection couldn't be opened.
This should help in debugging some cases where a connection can't be made
from the Google TV device to the backend plex media server.  The
base URL including IP Address and Port number will be displayed.