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

Fixes #4080:

1. Added proper handling and support of the symlinked directories.
2. Added $options parameter.
Here's the last fixes of it: https://github.com/resurtm/yii2/compare/4080-file-helper-remove-directory-symlinks?expand=1

Better to take a look at the whole method (not diff): https://github.com/resurtm/yii2/blob/1327d8ad2dfa78e64478104df79218f7c07d1519/framework/helpers/BaseFileHelper.php#L278-L305

Sorry, if i misunderstood you. Correct me if i didn't get you.