Provide get_uptime_sec in a common include file

so it is available to anything that cares.
Call get_uptime_sec from functions.inc.php

to avoid code duplication
Use ipprotocol to check gateway protocol, this fix a issue that allow to set more than one default gateway when it's dynamic
Show a count of the CPUs if more than one is detected, and show how those CPUs are supplied by the hardware.
Merge pull request #787 from phil-davis/master

Provide get_uptime_sec in a common include file
Dummynet does not require burst size specification

Dummynet traffic shaper does not require burst size specification and
assumes 0 if not specified. Allow user to leave burst field blank/
Merge pull request #788 from jean-m-cyr/master

Dummynet does not require burst size specification
Fix #3172, return_gateway_groups_array() was returning the last vip since it was using wrong variable name on iteration
shaper burst may be blank, but if not then must be numeric
Merge pull request #789 from jean-m-cyr/master

shaper burst may be blank, but if not then must be numeric
Fix #3174 Handling of gateway groups in openvpn_restart()
If the underlying vip of a gateway group that an openvpn client is bound
to is in backup mode then the client should not start.
touch up text, s/nat/NAT/
fix text
Resolves #3177. Do a filter reconfigure if the dynds ipsec hosts are present and being reloaded.
Traffic Shaper GUI text typos

and note the Queue Limit is a number of packets (not packets per second)
Make sure RRD data is restored from backup before upgrading data and a new backup is done after. It should fix #2159
Fix issue reported on http://forum.pfsense.org/index.php/topic,66160.0.html
Fix #3004:

. Create a function to replace strings on deep associative arrays
. Use the recent created function array_replace_values_recursive to fix
  VIP interface names instead of touch config.xml directly
Correct typo on variable name
Disable state killing on gateway failure by default for new configs.
Clarify the text describing the option while here.