[FEATURE] Add deposit middleware.
Merge pull request #49 from ripple/deposit-middleware

[FEATURE] Enable custom deposit middleware.