Move destroy app link from show page to edit page

It was very easy to destroy the application instead of deleting errors

Also add a related test on the confirmation
Merge pull request #358 from zetaben/feature/move_destroy

Move destroy application link from show page to edit page