This refactors the sysupgrade image generation code to make it reusable for all devices generating an SD card image. While at it, move the bootscripts to their own subdirectory. Signed-off-by: David Bauer <mail@david-bauer.net>