Add API_Account.statement()

To support mako templates for account statements and mako templates for
invoices with history of previous invoices and payments