Add autoSettings' to allow a dataDir to be passed

This is useful for making relocatable binaries.
Merge pull request #101 from hamishmack/master

Add autoSettings' to allow a dataDir to be passed