make wiki headings even more robust, rescue errors

also - do not display any edit links if the wiki structure is broken
Merge pull request #118 from azul/bugfix/greencloth-fixes

make wiki headings even more robust, rescue errors