Use Int16Array instead of Object array for LUTs and uses positive indexes.

Is this a suitable solution to issue #2 ? 

This results in 4x speedup of the storedPixelDataToCanvasImageData and
probably 12x speedups for storedColorPixelDataToCanvasImageData.
GenerateLut should also be much faster.