Significant updates to support Whole Label Evaluation

A first pass at implementing a grammar for whole-label evaluation of
variants, based on an approach designed by Asmus Freytag.