add live markdown to html and tweak layout

- completed js markdown to html good MVP
- improved layout of question show template
- cleaned existing js code (extracted methods)
- ready for next steps