genjava: Small cleanup to gj0PCallOther.  Use more precise functions.
genfoam: Split a few functions in gf_prog.c; gen0ConstAdd will add a supplied
function and decl. gen0ProgAddFormat will add a specified format (instead of
pulling one from gen0State).
genfoam: Introduce generation for aldor -> java function calls.
java: Add a test for java interop; basically muck about with BitSet a
little bit.  Note that java arguments don't work yet.
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.