express redirect compatibility

avoid breaking changes for redirect when using express v3 vs v4. See #261