Pab/build fixes 2

Nothing exciting here - lost some editlevels.h stuff, added a fix to javagen (slightly broken for multi-format functions).
Plus %pFoamSig for formatters.