Set default serial speed to 115200 for 2.2, fixes #3715
Fix dir name
Add a BETA key for PBI signature check, this will be replaced by the final one before RELEASE. Ticket #3365
Fix #3725:

- Fix match_filter_field() and also simplify logic
- Fix $filterfieldsarray initialization
- Avoid to have double spaces on filterfieldsarray['act']
- Fix filter on Firewall Logs
Delete gettytab.bak and ttys_wrap, they are not needed anymore
Remove unused function color()
Sync gettytab with FreeBSD 10-STABLE, also reduce customizations, the only difference is al.Pc entry, for Pc with auto login
Sync etc/ttys with FreeBSD 10-STABLE, change default console for al.Pc and default serial for al.115200
Stop restoring gettytab.bak since it doesn't exist anymore
Stop calling auto_login() here since it's already called inside setup_serial_port()
Change default console from cons25 to xterm, while I'm here, simplify the check
Fix #3647 and other improvements:

- Remove auto_login(), now gettytab is a constant file
- Add reload_ttys(), that will send a SIGHUP to init and make it reload
  /etc/ttys
- Change serial speed on /etc/ttys when necessary
- Change console and serial auto_login on /etc/ttys when necessary
- Change default type from cons25 to xterm
Obsolete ttys_wrap and gettytab.bak
Fix typo on var name
Make proper checks to check if we should or not enable serial console
Detect if an unofficial package repository is in use and warn the user. Part of issue #484 (more to go)
Set proper serial parameters on boot.config and loader.conf for nanobsd without vga
More refinements to the unofficial package repository warning ( Issue #484 ) -- Now also shows on Dashboard and installed package list. Cleaned up some code and shuffled things around to avoid unnecessary repetition.
Also check and verify the package server's SSL certificate if using HTTPS. Issue 484
Our current XMLRPC client version doesn't have support on its own to validate this in a way we can use to test in a usable for printing an error message. For now, a cURL query to the XMLRPC URL is used in its place.