add getStatementPDF.
add saveStatementPDF.
finish up saveStatement.
make saveStatement a bit nicer.
better path handling for statements.
fix path problem.
fix bad arguments for request.
remove useless param for getStatementIds.
better error handling for statement pdfs.
remove code duplication.
fix param name again.
allow buffering of statement pdfs.
fix getStatementPDF.
v0.2.12