Move dirty set outside break statement.

BUGZID:
Added test for dirty bit.
BUGZID:
allow pgtcl to be installed into a directory that doesn't include its version number
Wrap curly brackets around all expr call arguments that don't have them.
BUGZID:
Merge branch 'master' of github.com:flightaware/speedtables

BUGZID:
Merge branch 'master' into cpp