Improved the firewall logic to ignore libvirt/OS

Updated the firewall logic to identify libvirt and neutron
rules and ignore them. Also only purges the INPUT chain to
help preserve rules and work around firewall bugs. Removed
unreliable exec calls and service restarts.