move xml code to jenkins module
move most run functions from filetools to new run module
move filtools run unittests to run
minor cleanup
fix formatting
Merge pull request #842 from stdweird/refactor_filetools

Refactor filetools