Move to use unionfs for updating code on device

This addresses the problem of running relsync and messing up the
firmware on the device so that a reboot will fail.