Phylogeny

This PR adds tests for ``Phylogeny``, mocking all the non-standard requirements. It also refactors several modules to make use of shared utilities.

Tests pass on my fork, with 51% coverage: https://travis-ci.org/xrotwang/lingpy/jobs/42970727