"Edit this page"-tweaks
Here's a couple of tweaks for our "Edit this page"-feature. In particular:
- Don't offer editing pages with no content
- Correct edit-links to be relative to the content-dir
(sorry for the noise, this is a re-send of !4 (merged), after I accidentally pushed the wrong branch)