Import lots of code from Solr's unsimple SimplePostTool.
CLI interface isn't right yet, and only the post files
and search actions work (Crawl doesn't even compile).
Slowly slowly.