Partially fix (aging) statement printing (first part).
  Note: (aging) statements now show output formats, but don't
    consult the value $LedgerSMB::Sysconfig::have_latex yet (which it
    should). Also, the downloadable statements are still empty.