Line ending changes
Change to inttypes.h types
Line ending changes
More detailed debug messages

Changed back to XBH_DEBUG wrapper. Also reduced scope of variables to
file only.
Added xbh_utils.* from original XBH
Updated xbh_prot.h to add crc fail command from XBD
Added gitattributes for line endings
Changed line endings in debug messages
Line ending changes