Moved code to mahout tree preparatory to pushing to Mahout itself.