plugins/command: add pre-eval hooks

Pre-eval hooks can be used to for example cancel evaluation, but also to
add command logging and such. Admin-plugin uses now pre-eval hooks to
test command auth before evaluation.
Hide plugin internals my underscore-prefixing names