Index Fungorum, --sample and --select2, etc. - five commits

Four commits here, for Index Fungorum, --sample and --select2
commands, 'fold' patch command, flushing in-part synonyms, and many
minor improvements.  Will try not to let it go so long next time.