Initial version of bfCheckJavaMemory

This displays a warning message if the heap space is below 512m.  Only
functions that call setId currently call bfCheckJavaMemory.
Update copyright year
Allow the minimum memory value to be specified

The default value is still 512m.
merge dev_5_0 -D org -I include -E exclude: PR 856 (Initial version of bfCheckJavaMemory)
merge dev_5_0 -D org -I include -E exclude: PR 860 (UpgradeChecker: fix the stable version number)
merge dev_5_0 -D org -I include -E exclude: PR 862 (Permit cppwrap failure (rebased onto dev_5_0))