fix various smaller bugs in create/delete ledger and extracts
merge from trunk
merge from lp:~wbrowa/openpetraorg/dev_0001212_Publication_Extract_Add_Status