Convert scheduler.py to use argparse

Thus removing non-standard-library docopt dependency.