More robust path definitions

The bash interface scripts set some other
directory locations that are relative to
the location of the bash scripts
(TOUCAN/bash_interface), but this doesn't
work if we call the scripts from some other
path (eg when using the GUI).

Amend the scripts to explicitly retrieve
their location, so that it is independent
of where the script has been called from.