Fixed bug 12094 - Open Containing Folder menu item on dock tab.

This allows users to open a file's parent folder in the default file explorer,
using the menu bar on the dock tabs.

This also includes a small wrapper usage to unify code standards.