Fix #1083: Draft invoices (and draft transactions, btw) don't redirect correctly.
Commit upgrade test to address #1090.
Add column and table to allow writing back corrected values for #1090.
Merge pull request #26 from ehuelsmann/master

Fixes for #1083 and #1090.