Fixed markdown overlay in edit.html & file upload

Markdown just needed some adjustments for BS3.

File upload was broken by upgrading jQuery, just had to rewrite to account for a lack of backwards-compatibility.