Reorganized premake.
Esthetic change.
Small unimportant refactor.
Added a simple test system.
Fixed cmft runtime dir in premake.