Allow start/stop scripts to be run from anywhere

Also add -f to rm in start/stop scripts to suppress no such file warnings.

BASEDIR calculated from this Stack Overflow: http://stackoverflow.com/a/246128