Add 'run_sync' option to event plugins, to make sure they run before any commands or regexes
Make console logging use the new 'run_sync' paramater, to make sure that logs show up in order (first person saying command, then command result)

I was getting some instances where the logs would show up in the order: command result, person saying command. this fixes that.

Note that this also makes console logging a separate hook from file logging, as we don't need file logging to be in sync
Merge branch 'refresh' into refresh-make-logging-in-sync