RHEL and Fedora compatible keepalived custom policy

Cherry pick two changes that brings in a new keepalived custom
policy that works on both RHEL 7.0 and Fedora.