remotedb.py, tar.py: Implements ssl-fetch code

Migrate to using ssl-fetch (urllib3 based) for downloading files.
argsparser.py: Migrates from optparse to argparse

Also alphabetizes group arguments