Add prev and next relation links. Fixes #568
Merge branch 'master' of github.com:habari/system