Simple source code validator with file reformatting option (remove trailing WS, pretty print XML, ..)