Fixed lighttpd test of preexisting link.
Drop dependency on obsolete wwwconfig-common

Reload apache2/lighttpd ourself. Ignore errors such as invalid configuration
from other packages.
Bumped standard to 3.9.4 (no change required)
Canonicalize control vcs-fields
Use more recent helpers

. Bumped to compat level 9.
. Adjusted Depends on debhelper >= 9

So that build stop warning about obsolete stuff.
Add copyright format version.

That field is supposed to be required.
Only disable in postrm on remove|purge

not on upgrades.
Also added comments with overview of scripts parameters.
Moved /etc/javascript-common/ to x/conf-available/

conf-enabled/ and conf.d files are now proper links on conf-available ones.

New maintscript with hack around dpkg bug #584185.

Renamed source file lighttpd.conf into 90-javascript-alias.conf.
Change setup for apache2.4

. Build-Depends on dh-apache2.
. New debian/apache2 file with dh_apache2 settings.
. Added --with apache2 to debian/rules.
. Changed Suggests: into Recommends: httpd.

This closes #710475

Note that bug dh_apache2 bug #717299 results in lighttpd being droped from
Suggests:
Since apache2 maintainers are very active right now, I expect this to be fixed
soon. But package will need a rebuild then.
Makes piupart happy

prerm: Remove /etc/lighttpd/conf-enabled/ if empty. We might have created it
 on postinst.
postinst: Remove /etc/apache2/conf.d/ if empty. We might have created it in an
 pre-9 version.

This closes #603205
Fail silently on lighttpd reload if not installed