[FIX] use "state" to list failed payments

[TEST] All failed payments should have "failed" state.
Merge pull request #121 from ripple/fix-listfailed

Fix listfailed