portageq: Migrate docstrings to a dictionary

Due to python optimizations, __doc__ are removed.
testpath: Add a generic testpath script

Source this testpath script from the base checkout directory to run all checkout code.