[WIP] Re-use old builds, based on some sort of 'tree id'

Needs quite a bit of work

 - [ ] is there a way we can make the tree id match Platform's?
 - [ ] the tar/untar commands need cross-platform testing
 - [ ] there is no point keeping old build directories with this (not sure there was any point in the first place)