remove krun dependence on parser code
Merge pull request #782 from dwightguth/collectvars

remove krun dependence on parser code