Add open in terminal toolbar button

Adds an optional button on the toolbar for opening a terminal in the current location, it is not enabled by default

Ready for merge