Settings added for newDirPerms and newFilePerms

Using recommended defaults for a typical web server
newDirPerms and newFilePerms available in JS now
Refers to/uses 755
New dirs use newDirPerms setting
New dirs/files use perms defined in config
Set user defined perms on new file/dir