added support for custom path completion using an external command
Remove duplicate code to read path_completion_command setting

The instantiation of the appropriate *PathCompleter instance is
now done automatically by the PathCompleter class which will read
the path_completion_command setting, instantiate the good class
and proxies the completion request to the good completer.
make sure we don't use CustomPathCompleter for attachments or threads saving