[trunk] moved comment marker setup from opj_compress to the library
[trunk] fixes issue #357. MCT is automatically disabled when
subsamppling is detected.
[trunk] replaced malloc with opj_malloc. (Fixes issue 368).
[trunk] Changed error to warning when no EOC found in codestream (fixes
issue 366)
[trunk] allow compilation with MinGW32 (fixes issue 361)
[trunk] improve memory management (fixes issue 359)
1. added support for compress/decompress from buffer

2. added support for decompress from segmented file (DICOM)
fixed java wrapper project
 created JAI ImageIO project on top of it
Changed OPJ_UINT32 to OPJ_SIZE_T in opj_read_from_buffer
Removed duplicate typedef