Add support for pre/post install scripts and Device Tree Blobs

Discussion: https://github.com/Hexxeh/rpi-update/issues/118