Merge pull request #6 from ReDucTor/qt5_and_boost

Some BUILD_TESTING=1 fixes
Remove expat dependency, Fixes #5 . Fix gmock/gtest build.

* Change std::string/const char * to QString in a few more places
* Use QDir functionality to create directories in Cluster::makeDirs()

Note: this commit is reverting the change to gmock 1.7, since I had the patch necessary to make version 1.6 install respect the INSTALL_DIR parameter.
      Now the gmock 1.6 should download, build and correctly install itself into 3rd_party/lib and 3rd_party/include directories.
Add missing gmock.patch file.
Replace gmock/gtest with QTest

* Remove dl library dependency too, since we no longer use it ( QCore takes care of loading dynamic libs )
Fix Dfa test case.
Help CfgTest find it's required files, even when BOOMERANG_TEST_BASE env variable is not set.
Remove last USE_XML ifdefs, reformat boomerang.cpp
Reformat ui, unit_testing and util directories
Reformat type directory and reinstate type/unit_testing

* move ADD_QTEST macro to BOOMERANG_Macros.cmake
Reformat transform directory
Reformat all files in 'loader' directory
Convert the loader unit test to QTest
Reformat sources in frontend sdirectory
Reformat source files in db directory + reformat previously missed frontend .cpp files.
Reformat sources in c and codegen directories.
Silence a few warnings
Remove BinaryFile class, fix some warnings.
Remove memory leak in Location::match, add two asserts in RTLInstDict::transformPostVars
Commenting out protobuf includes and namespace usage, might be worth completely removing these until protobuf is being used.