Apache restart fix
Created by: SunilMohanAdapa
Some of the important modules such as php5, cgi and authnz_ldap are enabled by default in freedombox-setup. However, when installing ikiwiki we still restart the apache2 web server. This patch fixes that by restart or reloading only when the corresponding module/config/site is not already in the state required.
An additional fix for error handling in packages module is also done.