Support > and < in LabelPredicate, with refactorings

Use an Args class and a Parsed class to cut down on the number of
variables passed around to all these static methods. Use a string
switch instead of Test because we can.

Change-Id: Ia439a16cb94612e3d6c1205d8506491d0bbd9d92
3 files changed