Fixed Client->createInvoice, invoice json now comes from nested data object. Tests to match
Merge pull request #87 from sambohler/master

Fixed Client->createInvoice, wrote tests to match