HyPhy: Hypothesis testing using Phylogenies