Improve ThreeDApp.template
Supports Cinder basic types in MiniConfig, fix type_cast<> behavior.