Fixed #21380 -- Added a way to set different permission for static direc...

...tories.

Previously, when collecting static files, the directories would receive permission
from global umask. Now, the default permission comes from FILE_UPLOAD_DIRECTORY_PERMISSIONS
and there's an option to give different permission from uploaded directories permission by
subclassing any of the static files storage classes and setting the
directory_permissions_mode parameter.