[FEATURE] set sent/non-validated txns to pending in db

[TEST] pending txns, use chai
[FEATURE] Add direction to ripple transactions.

[TEST] Ripple transaction direction validates in set.
[FEATURE] Run processes in one process or separately.

[FEATURE] Extract GatewayProcess class for DRYness.