Install proper startup config files for different distributions

Ubuntu switch to systemd after version 14;
Debian switch to systemd after version 8;
Fedora switch to systemd after version 15;
RHEL/CentOS switch to systemd after version 7.

This patch is also related to issue#412