SI-8382 Restore partest.debug

Use it to set debug mode (which for instance leaves object files
behind for inspection). (--debug is a synonym for the command
line tool.)
Merge pull request #17 from som-snytt/issue/missing-debug

SI-8382 Restore partest.debug