gigaboot: Add a gigaboot protocol implementation.

This is functionally based on the protocol implementation in the gigaboot
bootloader, but redone to match depthcharge's style and to fit with its
infrastructure.

Change-Id: I78d1690e6046664da96a51f8b3b5e61f315adb0e
4 files changed