adding a route and template for md editing

The route returns a snippet of html that can be embedded into an
accordian div.
adding the edit button to md accordian entries

Also adjusting the save button for the edit form.