Update mainboard code and build system to include metadata

- stores checksums of the firmware image and an 8-byte hardware id
  that will be checked by the bootloader before loading the application

Conflicts:
	tools/site_scons/autobuild.py