Merge pull request #929 from nagyrobi/patch-3

Update system.inc
More code fixes for ntpd
Merge pull request #932 from nagyrobi/patch-6

Create services_ntpd_pps.php
Make this usable
Merge pull request #933 from nagyrobi/patch-7

Update status_ntpd.php
Merge pull request #934 from nagyrobi/patch-8

Update status_rrd_graph.php
Merge pull request #935 from nagyrobi/patch-9

Update status_rrd_graph_img.php
Merge pull request #936 from nagyrobi/patch-10

Update status_rrd_graph_settings.php
Merge pull request #937 from nagyrobi/patch-11

Create ntp_status.inc
Merge pull request #938 from nagyrobi/patch-12

Create ntp_status.widget.php
Tighten is_numeric()

Improvements:

1) avoids 'expensive' preg_match() and is a more exact test
2) fixes logic whereby an empty string or anything converted to an empty string, is deemed a valid 'numeric' value

(If an empty string can validate as numeric, it's possible that in some cases a number is expected and missing in a string, but not detected, causing malformed rules or subnet bitcounts, and unexpected issues or vulnerabilities)

 -- also moved code to a more logical place in the .inc while doing this, not mixed in between IP handling functions
Fix gateway quality RRD to have the correct granularity and be consistent with the pfSense graphs set.

Create gateway quality RRD with settings suitable for pfSense graph set,  since apinger uses default step (300) and other settings that are not so  good/consistent with the pfSense graphs set.

Originally Submitted as Pull Request #672.
Resubmitting to Master.
Make a good copy of PHP_errors.log for crash reporter

Forum report https://forum.pfsense.org/index.php/topic,72877.0.html
Merge pull request #954 from phil-davis/master

Make a good copy of PHP_errors.log for crash reporter
Merge pull request #951 from stilez/patch-1

Tighten is_numeric()
silence any errors
Do some more error checking and put secondary radius attributes only if configured. Probably radius configuration should be merged with central server for logins!
Use env var provided by openvpn to determine if it's tun or tap, it should fix #3475
Add the missing global $g
Use the default bw specification if configured even for allowed ip and hostname.