ported java encode/decode to openjpeg 2.0
working!
decompress from buffer
make this build on unix
compress from buffer