CB-6357 platform: Refactor into distinct functions
CB-6357 platform: provide exports for functions
CB-6357 call_into_create: support no output
CB-6357 platform check - install each platform to determine working + version number
CB-6357 platform check: sort output
CB-6357 platform: fix indentation
CB-6357 minor style changes