Validate firewall rule advanced options requirements

Checks that the user has selected a TCP Pass rule etc when using the state-related advanced options. Validates as per the checks that are applied in filter.inc when generating the actual pf rules.
Forum discussion: http://forum.pfsense.org/index.php/topic,64653.15.html
Bug report #3098
Merge pull request #720 from phil-davis/master

Validate firewall rule advanced options requirements
Fixes #3100. Fix spell and spaces issues
Use default RRD colors that are a little more visually distinct.
Merge pull request #722 from CharlieMarshall/rrd

Use default RRD colors that are a little more visually distinct.
Implement an option to allow using the IPv4 connectivity interface for sending the dhcpv6 information. Usually useful for ppp[oe] type links and some ISP
Update rrd.inc

Fix this error
php: rc.bootup: The command '/usr/bin/nice -n20 /usr/local/bin/rrdtool update /var/db/rrd/system-mbuf.rrd N:U:U:U:U:U' returned exit code '1', the output was 'ERROR: expected 4 data source readings (got 5) from N:U:U:U:U:U'
Allow advanced options state-related parameters to be used for TCP, UDP and ICMP

Allows the state-related parameters to be specified for UDP and ICMP as well as TCP. Discussed in forum http://forum.pfsense.org/index.php/topic,64653.0.html
Allow advanced options state-related parameters to be used for TCP, UDP and ICMP

Allows the state-related parameters to be specified for UDP and ICMP as well as TCP. Discussed in forum http://forum.pfsense.org/index.php/topic,64653.0.html
Merge pull request #729 from phil-davis/master

 Allow advanced options state-related parameters to be used for TCP, UDP and ICMP
Close td
Fix #3103, cleanup ports fields when protocol changes
Fix #3106, parse 'not' rules right on destination for port forward + reflection proxy rules
Mark input_errors as reference at do_input_validation declaration, it fixes #3108
Optimization has nothing to do with limits