Fix PGML to not call cmp() on non-MathObject answer checkers

Move ANS() call to correct place for MathObjects (so it doesn't get called for other types of answer checkers).  Resolves issue in pull request #101.