[CMake] Initial project setup

* Fixed Moai SDK to support modularized 3rd party libraries.
* Added initial CMake project.