Unit tests now use a common 'main'.

Tests are now listed in the end of the file between TESTS_BEGIN and TESTS_END.

Example:

	TESTS_BEGIN
		TEST(subsystem_component_test1)
		TEST(subsystem_component_test2)
		TEST(subsystem_component_test3)
	TESTS_END
Merge feature 'unittest_framework_rework' into develop
Moved global variables to main.cpp.
Merge feature 'unittest_framework_rework' into develop