Update Application.pm

Update to Application.pm to address rt bug 84403:

https://rt.cpan.org/Public/Bug/Display.html?id=84403

Create a new runmode (named no_runmodes) to display an error when no runmodes exist, as previously calling dump_html() may present a security issue.

Alter call in run_modes to call no_runmodes rather than dump_html