Do a proper nginx restart whenever a dependent resource updates

Ran into a bug where nginx reloads (after a configtest) were not working
as intended. Until I can troubleshoot that, this will have to do for
now.
Remove libapparmor1 from the cleanup list, too
Merge pull request #10 from marvinpinto/undo-remove-apparmor

Minor tweaks