[CHORE] Break out api methods to separate files.
[CHORE] Complete refactor api methods from index to lib/api files.
[FEATURE] Add separate files for api calls.
[CHORE] Update and fix api calls.
[BUG] Readd accidentally deleted line.
Merge branch 'outgoing-notifications' of github.com:ripple/gatewayd into outgoing-notifications
[CHORE] gitignore npm-debug.log