DEVTOOLS: Factor out function to create directories in create_project.
DEVTOOLS: Adapt create_project to output engines/plugins_table.h again.

This updates create_project for the changes done in 31cdfe059a85ac1ce71bf8c46857185dc55c1b8d
and b06c4135fb3b73a77613c47d6bc69f7455ed1eb5.
DEVTOOLS: Make create_project sort SCUMM as first engine.

This makes create_project output consistent with configure output again.
(See 33c1ffd073821a68e20bed6e4c257aed7ed66401 for the configure change).