Renames Router to Application (all refs)

The server is really serving an Application, which has a Router (among
other components). Therefore all references to an external "router" have
been renamed to "application".
A few extra router -> application switches

SettingsConfig looks for -a flag instead of -r flag.