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
Updated construct to take the currency code as an optional argument
Added available currencies and updated the constructor and setCode to the currency class
Added phpmd to project