Add support for out of band invoice creation

Also includes support for manually updating (i.e. closing / reopening)
invoices.
Merge pull request #13 from yeurch/manual-invoicing

Add support for out of band invoice creation