Added exemplary ofjava thread model configuration

Depends on https://git.opendaylight.org/gerrit/#/c/9650/

 + one compatibility change

Change-Id: Ibc920a9b9e88681beee112e5d9966a07ac86117f
Signed-off-by: Michal Polkorab <michal.polkorab@pantheon.sk>