Clean up support for distribution specific apache user

fixed various hacked or incomplete distro dependent settings of the apache user/group. Also fixed a missing comma.