genc: Use foamXCallArgc to determine number of arguments to a call,
rather than hard-coded constants.
optfoam: of_emerg.c should be using foamXCallArgc methods to find
number of arguments to calls.
foam: Add foamNewDDeclOfList.. utility method for later.
genfoam.c: Make gen0AddRealFormat a global function.
of_deadv.c: Mark formats in java globals - we'll be using these to pass
argument types. (this is hacky, but simple).
foam: Add JavaSig DDecl type.
java: Introduce passing of Java types to functions.
java: Add test for java calls that include java object arguments.