Hypothesis tests for phylogenetic quartets, with applications to coalescent-based species tree inference. (7th November 2016)