Added GeneratorUtilities.prototype.isBaseDirExists function.

Prevent compound to not create base directory when it already exists.
Merge pull request #613 from attomos/master

Added GeneratorUtilities.prototype.isBaseDirExists function.