Ot base update

Changes to move duplicate classes into the ot-base repo. This depends on pull request https://github.com/OpenTreeOfLife/ot-base/pull/11 to ot-base. @josephwb, can you please test these changes and merge?