Confirm actions on index page

It has always bothered me that there is no "Seriously?" confirmation popup for the actions on the bottom of the problems index page (Merge, Unmerge, Resolve etc.)
I added the confirmation and refactored the buttons in the process.