Correct function name
Correct setting default gateways
Sprinkle some unsets
Small fixes to make code readble and error log more useful
Make sure the directory exists
Display Gateway Widget column headings only once

The Gateway Widget format was changed recently to allow display of a long IPv6 address. It has made the widget take a lot more screen space when there are a few gateways. This change saves some space - what do people think?
Merge pull request #398 from phil-davis/master

Display Gateway Widget column headings only once
Validate interface IP explicitly as v4 or v6

The IP Address fields on the Interfaces Edit page were just using is_ipaddr to validate them. I could put an IPv4 address in as the IPv6 static IP and it took it and saved it, then got my system in a knot! It even adjusted the subnet bits dropdown when I typed a valid IPv4 address format in the IPv6 filed.
And IPv6 addresses could be put in IPv4 fields also.
Merge pull request #399 from phil-davis/master

Validate IP address explicitly as v4 and v6
Fix login form username field focus

The Username filed was no longer getting focus - just a missing "/" in a critical place.
Update usr/local/www/system_camanager.php

Cleanup HTML
Merge pull request #401 from phil-davis/master

Fix login form username field focus
Merge pull request #400 from bcyrill/patch-16

Update usr/local/www/system_camanager.php
Update usr/local/www/system_certmanager.php

Cleanup HTML
Merge pull request #402 from bcyrill/patch-19

Update usr/local/www/system_certmanager.php
Update usr/local/www/system_crlmanager.php

Cleanup HTML
Merge pull request #403 from bcyrill/patch-20

Update usr/local/www/system_crlmanager.php
Do not allow 1:2:3:4:5:6:7:8::9 as an IPv6 address

The Net_IPv6 code has a bug - checkIPv6 returns "true" for addresses like:
1::2:3:4:5:6:7:8:9
1:2::3:4:5:6:7:8:9
...
1:2:3:4:5:6:7::8:9
1:2:3:4:5:6:7:8::9
these also emit the message:
Warning: str_repeat(): Second argument has to be greater than or equal to 0 in /etc/inc/IPv6.inc on line 496

It is fixed by making uncompress() always insert at least one ":0:" for any "::" in the address - a "::" always implies at least ":0:". This removes the str_repeat() warning, and means that the uncompressed IPv6 address has >8 numbers in it, so it fails the validity check (as it should).
Plus I fixed various text typos.
These changes are also being submitted to the Net_IPv6 repository on GitHUb so they will get fixed in newer versions (if pfSense ever ports them across).
Merge pull request #404 from phil-davis/master

Do not allow 1:2:3:4:5:6:7:8::9 as an IPv6 address
The actual variable isn't an array, so this test will never succeed. Remove it. Unbreaks ntp.