CFileHelper::removeDirectory() enhancements:

1. Added proper handling and support of the symlinked directories.
2. Added $options parameter.
does is_dir return true for a symlink that points to a directory?