REST: allow to set content-type for create/commenting ticket
command line test of content-type in ticket creating/commenting
Merge branch '4.0/backport-content-type-in-rest' into 4.0-trunk