Fix issue of not being able to change the owner of a folder without changing it's name as well.
Small performance improvement when checking for duplicate folders.
Added a unit test for checking folder owner changing and removed some unused imports
Merge pull request #317 from kux/develop

Can't change a folder's owner without changing it's name as well