Read color info from JPX stream

Fix colors problem #4540 + minor cleanup

fix lint warnings
Use Stream instead of byte array access
Using shell/cmd commands to kill browser tasks
Protects from killing a closed process
Merge pull request #4565 from fkaelberer/fixJPXparsing

Read color info from JPX stream + fix color problem #4540
ReversibleTransform and IrreversibleTransform
Optimized BitModel_decodeSignBit

Inlining the calculation of the neighbour sign contribution and using the fact
that coefficentsSign is a Uint8Array of 0s and 1s

BitModel_decodeSignBit goes from 1100ms down to 160ms to decode 20 1.5Mpx JP2
BitModel_setNeighborsSignificance micro optimization
buildCodeblocks micro optimizations
Transform_iterate micro optimization
Optimized transformComponents (20% faster)
Pass the index to BitModel_decodeSignBit
Pass the index to BitModel_setNeighborsSignificance
Avoid unnecessary init of the bitsDecoded in BitModel
Optimized copyCoefficients
Clear processed flag in the main loop of BitModel_runSignificancePropogationPass