pair: add graphviz-dot mode

and fix java-mode-hook

Signed-off-by: Micky Ching <mickyching@163.com>
ecb: fix custom-set-variables

Signed-off-by: Micky Ching <mickyching@163.com>