- run_editor: added fallback if shlex.split raises a SyntaxError

Fall back to a plain split in order to support an arbitrary $EDITOR
value.
- core: added new _editor_command function

Used by "run_editor" and "_edit_message_open_editor" to retrieve
the editor command.