Prepare Core for in-source export.

Signed-off-by: Alexander Siol <dunklermeuchler@gmail.com>
Merge branch 'cmake_disable_modules'
Move tst_tria to Core

Signed-off-by: Alexander Siol <dunklermeuchler@gmail.com>
Merge branch 'cmake_disable_modules'