Added Endianness-aware get() method

ColorTable16 now has a get() method that accepts a boolean
littleEndian flag, and truncates appropriately based on the flag value.

Note that endianness is specific to the 16-bit color table and thus
is not part of the base ColorTable API.

Default behavior through get(int, int) should be unchanged, as big
endian data is assumed.