various changes

 * configure: add subdir-objects to AM_INIT_AUTOMAKE
 * configure: add ACX_HEADER_ENDIAN macro
 * build: remove sv/byte.h usage and replace with string.h methods
 * build: remove sv/uint.h usage and replace with endian.h methods
 * build: organize headers
 * build: fix java interface after setting subdir-objects