Implement UbuildCache, the ubuild cache manager and add some test scripts