wiki: Add formatting help to edit page.

Formatting help was not visible on wiki pages, users were confused as to what style of formatting to use on wiki pages.  Helps inform the user that markdown is used.  

Some restructuring was required to re-use the code between comments and wiki pages.

Fixes #753