shadow: Add getopt command line argument parser class.