initial test plugin api

@ianstormtaylor got these basics working, just delegating to the integration-tester for the moment. any suggestions so far?
why such constrained line length here? (not necessary to fix for this pr, just we should keep it at 80 characters for these..)