ripped out much of our own command line parsing and replaced with argparse
basic test suite now works with the new argparse-powered LayeredConfig
rudimentary handling of non-ascii cmdline arguments
if FSM-based parsing fails, fall back on old everything-is-a-paragraph parsing
LegalRef now has a allow_relative flag, that filters out relative SFS links unless set to true
fixed testcase test_distill_HDO_O2072_91_1
added the testcase for the previous commits fixes
misc fixings
wip