CFileHelper::removeDirectory() enhancements:

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

CFileHelper::removeDirectory() enhancements: