Update comments.
Ensure regtest doesn't generate a YAML file for a Ruby file
without samples.
Add constant REGTEST_FILES to define regtest files and include
regtest dir in $LOAD_PATH.
Fix typos.
Prepare release 0.4.0.