changes for new reference phasing, including cleaned up match extension
Merge branch 'master' of https://github.com/richarddurbin/pbwt

Merging back John Lees pull request changes into my changes for new reference phasing