fix allowed rename of folder in root directory to reserved name "Shared"

refs #2159
wrong root dir name
string comparision
[files] refactoring
[files] fix typos
[files] kill stripslashes
[files] remove normalizePath on rename and dependency injection
[files] rename tests
[files] remove realpath in test
[files] rename test class and add rename test
[files] ownCloud typo
[files] rename lib to "App"