Add relative links for chapter files

This adds relative links according to https://github.com/blog/1395-relative-links-in-markup-files. This is GitHub specific, so maybe it doesn't fit for the final publishing format.