Improve test parameter and inline documentation.
Add a more sophisticated apt/dpkg hook.

This takes dpkg's status-log into account. This approach is the prefered one.
Deploy advanced apt/dpkg example configuration as default.
Update ChangeLog.
Fix filename (s/touched/unpacked/g;).
Add missing colon on tag comparison.
Notify the user of skipping needrestart on dpkg failures.
Fix error detection from status log.