express redirect compatibility

avoid breaking changes for redirect when using express v3 vs v4
Merge pull request #267 from franck34/master

express redirect compatibility