Fixes infinite recursion bug when deleting a folder.
Added phpunit as a composer development dependency.
Added composer.lock to the .gitignore.