Initial version of bfCheckJavaMemory (rebased onto develop)



This is the same as gh-856 but rebased onto develop.

----

This displays a warning message if the heap space is below 512m.  Only
functions that call setId currently call bfCheckJavaMemory.

/cc @sbesson