add unit tests for discriminator, struct+enum params
Makefile: add check-java, package-java target
java_gen: add documentation
jva_gen: blacklist / rename useless interfaces from the input
upcast to larger type for unsigned names (experimental)