Fixes #4080, FileHelper::removeDirectory():

1. Added proper handling and support of the symlinked directories.
2. Added $options parameter.
Merge pull request #4084 from resurtm/4080-file-helper-remove-directory-symlinks

Fixes #4080, FileHelper::removeDirectory() symlinks handling enhancements