Fix recursively adding folders to a repository

Until now, subfolders of folders were added flatly. This change adds folders recursively and creates subfolders within the repository.
Add unit test for adding folders with subfolders.
Merge pull request #14 from ufirstgroup/master

Create subfolders when adding directories