Created tests for XcodeBuildTask and XcodePlugin.

- deleted broken test
- switched to testng for easier test setup handling
- introduced gmock for mocking
- some code improvements
reformated the code, use tabs instead of spaces