This adds an "Uninstall" button to the bottom of the page, for apps using the "service" view and template. The uninstall button won't be shown for essential services. When the user clicks "Uninstall", they are shown a confirmation page that lists all the packages that will be removed.