Refactored TestXmlDisplayer to make it testable.
Removed setter from NbGradleTestManagers because it won't be used in tests.
Factored out some code from TestXmlDisplayer.
Minor refactoring in EmptyProjectTest.
Simplified some tests.
Added a simple test for TestXmlDisplayer.