Open konsole with the active document's project root or it's directory
If the active document is associated with any opened projects,
that project's root directory is used, otherwise the document's directory is
used.
If there is no active directory, default behavior is retained.
Differential Revision: https://phabricator.kde.org/D13654