RelativePathHelper can create links with no .html suffix, for nicer URLs.

Also fixed bug which rendered pages despite published:false attribute