Move mojocore build rules to separated CMakeLists.txt

Create separated src/core/CMakeLists.txt file, that contain rules for
build mojocore library
Move mojodb build rules to separated CMakeLists.txt

Create separated src/core/CMakeLists.txt file, that contain rules for
build mojodb library