WIP: Add platform specific code for build packs.
WIP Update the build pack to use the platform detect and local copy of copy.
WIP Update to use the platform detect and have local self.new define.
WIP Update scripts to return json. Also use the $env:PORT.