Use custom CMake scripts for checking compiler flags.

These scripts were copied from CMake 2.8.10.2 and the "normalizing
locale" patch was applied. This allows us to keep the CMake minimum
version while fixing a couple of bugs related to old CMake scripts.
Renamed mitkFunctionCheckCompilerFlags2 to mitkFunctionCheckCAndCXXCompilerFlags
Merge remote-tracking branch 'origin/bug-14841-gpu-volumrendering-memory-leak' into releases/2013-03
Merge remote-tracking branch 'origin/bug-14920-fix-git-repo-check' into releases/2013-03
Merge remote-tracking branch 'origin/bug-14355-fix-resource-compiler-path' into releases/2013-03
Merge remote-tracking branch 'origin/bug-14937-fix-compiler-flag-checks' into releases/2013-03
Provide interface for ifstream based config object creation,
as well as for PorpetyLists
Re-enabled event-config test
Adapted test - problem with ifstream conversion
Finished Test.
- working support for loading via ifstream
- working support for initializing with property lists
Deactivate legacy handling in ToolManager
Deactivate legacy handling in ToolManager
Added test execution to cmake
Finalized doxygen description of mitkEventConfig
Changes to the construtor interface  event config objects
Use the stack instead of expensive new.
Merge branch 'bug-14915-add-iostream-eventconfig-constructor' into releases/2013-03
Removed static member holding the OclServiceRef

* replaced the usage of the static member inside the module
Postponing OpenCL creation

* in now 'lazy-loaded', i.e. created by first GetContext() or first
* internal usage
Packing all context-related stuff to a struct

* to re-enable constness of Get...() methods in the service interface
Removing unused method