move EXMODE_* to ex_docmd.h

added include to ex_docmd.h to message.c
moved OPT_* flags to option.h