Changes to iptables state and module.

Added flush and set policy to iptables state.
Added a -if option to specify interface mainly to allow traffic over lo.
Also added in sport so OUTPUT policy can be set to DROP and have more control over the rule.
Merge pull request #8095 from c-cooperjones/develop

Changes to iptables state and module.