add createSubFolders option

And added unit tests for the functionality
Fixes #154
IMHO, this should have been named 'createFolders' as it's just about creating actual folders in the zip file.