Move #markdown from ApplicationController to ApplicationHelper
Add a test to ensure correct rendering of Markdown

Thanks @efatsi for the suggestion!