Display more error information
Making sure that errorneous items are displayed with the error template
Moved the isMarkdownFile function to the util.go file
Only conside the file name for new items, not the file extension. And got rid of some magic strings along the way.