Add brg_endian.h

This isn't needed for the reference implementation
Merge pull request #13 from bgamari/master

Add brg_endian.h