Adds MMS_NO_TYPEID option to allow building with -fno-rtti

This allows building MMS with RTTI disabled.
Of course, runtime check will no longer be possible.
Adds MMS_NO_EXCEPTIONS to allow building MMS with -fno-exceptions

MMS uses exceptions only for runtime assert-like checks,
so this does not affect functionality.