medium: scripts: Add --scriptdir command line option

Takes a semi-colon separated list of directories in
which to look for cluster scripts. Lookup is done in
the provided directories before looking in the default
directories.