[trunk] Add documentation
[trunk] Rework previous commit r2610
This way we are able to gently deprecate the old API, and preserve ABI
Update issue 306
[trunk] Make sure to not use alpha pointer if it is not an RGBA input
Fixes issue 310
[trunk] add "-mct {0,1,2}" option to opj_compress to allow MCT to be
disabled if needed.
[trunk] fixed warning due induced by r2791
[trunk] Import change from 2.0 branch
[trunk] Add sentinel in case list empty. 
I was getting a cmake error `list sub-command REMOVE_ITEM requires list to be present`
[trunk] fixed bug related to r2791
[trunk] Make sure to test value not pointer
Update issue 302