GenotypeAlleles takes referenceAllele at creation

version of #174 but built on top of and merging into `somlogodds-update`, for your convenience developing on that branch.