[FIX] crash on getting payments for account

- if there were previously failed submitted payments ripple-rest would crash while trying to retrieve payments for a given account
- remove duplicate parsePaymentFromTx method
[TASK] minor coding style optimizations
Merge pull request #128 from geertweening/fix/crash_on_get_payments

[FIX] crash on getting payments for account