Adds $TESTNIM and $MODULE as variables to test cases.
Enables trackDirty query for idetools proc mode.
Adds symbol proc run mode as suggested by Zahary.

To avoid collision each test case uses a different nimcache directory
based on the input test filename.