jheapdump: gdb-based heap dump for JVM

create a java::tools class to include this tool since it might get used
elsewhere beside elasticsearch module

Change-Id: I7fc40ff5a0ebd29824f9dbf76bf3d989343ce515