Wrap cmocka in extern "C" if __cplusplus
Use cpp for core_tests
Changed to cpp for building core_tests
Added ui_tests
Removed some logging