Update postinst.in

Fixed ubuntu config bug in apache2.4, regression tested
Update preinst.in

Added patches for apache 2.4, regression should be fine
Merge pull request #260 from davetaz/master

Updates to debian package builder for apache2.4