update: compatibility modifications for java.

modifications to support auto-complete and malabar-mode, also groovy
mode updated to operate as inferior-ipython buffer.