java-dest: add custom options possibility to java destination.

The getter is implemented in JNI therefore the future java destinations
must extend the SyslogNgInterface abstract class. But it is generated under
the make install process.

Signed-off-by: Viktor Juhász <viktor.juhasz@balabit.com>