configure: add ACX_HEADER_ENDIAN macro and use it

Add ACX_HEADER_ENDIAN macro and organize includes to use
sv/common-private.h
byte: remove byte_* methods

Removed all byte methods and tests; replaced them with stanard
memory related calls.