Test API documentation

I wrote this before learning about http://www.os-autoinst.org/testmodules.html which it largely duplicates. Nevertheless I think it is good to start a standard CPAN-style docs for this.