Some fixes and new feature: addPath for redirects
Merge branch 'minimal' into swig
Merge branch 'minimal' into rest
Merge branch 'swig'
Merge branch 'rest'