Series of small-ish updates

Minor series of refactoring. Also added command-line option parsing on fdfgen/__init__, which should make it easier to write test fields against different PDF forms.