refs #7200 Modified genertate_mdevent_declarations.py

to work with new eventFactory properly
refs #7200 Doxygen comments and minor modifications
Merge branch 'feature/7200_MoveFlatTemplatesToMDEventFactory' into develop