Use new timetag assignment functionality to simplify examples in testparser.c, update expression syntax documentation and fix a couple small parsing bugs.