Add the web/api folder to cmake

Notes:
* Renamed app/Config/core.php to app/Config/core.php.default to avoid conflicts.
* cmake creates and fills random salt and seed in app/Config/core.php (from template file core.php.default)
* cmake creates and fills database information in app/Config/database.php (from template file database.php.default)