Allow subclasses to override the base directory rather than hard coding to current directory. In our continuous build environment the base dir is different to that running on our local machines.
Merge pull request #1132 from jongerrish/support_override_basedir

Allow subclasses to override the base directory