Split command handler into two functions
Split command handler into two functions

Was becoming too large for pylint and also hard to understand.

First part stays the handler which deals with completion, aliases,
logging and history. Second part is the new run function which reads the
command and runs the correct function (path, external, internal).

karlch/vimiv,karlch/vimiv,karlch/vimiv