Improved whitespace

There were lots of trailing spaces and mixed tabs/spaces in .XML, which looked really ugly in my editor.
The Cyclomatic Complexity of function _getAllPhpFiles is too high. [14/10]