Fix WL-2779, also now permits template icons outside of the site resource hosting.
Extended transferSiteResource to include a security bypass.
Consolidated functions so `transferSiteResource` always bypasses security. Also updated these content copying functions to use the non-deprecated version of SecurityService.pop
Merge pull request #4 from ox-it/WL-2779

Fix WL-2779