Upgrade to express.js 4, expose router and remote as library.

https://github.com/ripple/ripple-rest/commit/6c76174bb899f0ab4243b8221cc0dc760f8366bf