[trunk] moved logic related to cinema profiles in library (was in
opj_compress.c). This enables one using the library with its own
executable to easily ask for cinema profiles.
[trunk] replaced fprintf with event_mgr in cinema-related stuff in j2k.c