Qt: openItem was almost always used to pass options

So, create a method using QStringList and not input_item.
This should be cleaner in the calling sites, and avoid
calling input_item_new from Qt code
Qt: rename helper for more clarity
Qt: factorize code of opening MRL
Qt: move getDirectoryDialog to a static helper
Qt: factorize directory opening