Added crude working -h (but not -hV) and empty unit test code

-h works except for the 'caps' field
unit tests are built into an executable called ptool_test, but it doesn't
contain any valid unit tests yet.