Adding an option to preserve resource paths for certain resource directories. In reference to: #743, #773.
Merge remote-tracking branch 'origin/preserved-resource-directories'