Add basic Android OS detection. Some adjustments to endian detection to
avoid setting multiple endianness and to avoid including extra headers.
Addition of some documentation to endian detection.