contrib/java_parser: Grammar done and beginning of code generation

Signed-off-by: Frédéric Vachon <fredvac@gmail.com>