Added tentative Apple implementation.
Moved endianness to public header.
Improved endianness functions.
Note endianness changes in readme.