Fix file permissions and provide ability to cache all remote content

For admin buildpack, provide the ability to specify the repository hosts from which content should be cached. Also, fix permission of files packaged in buildpack.