Rename image upgrade to run after HBA firmware upgrade

The image upgrade truncates all the files to do not waste disk space,
including the firmware script.

Ticket:	#4160
implicitly allow loopback trafic when starting up.

This fixes a problem that caused lockd not to start at boot.

Along the way fix the rule number typo which may or may not have
been innocous. (I didn't test it)

Ticket: #2490
Make "inherit acl's" a configurable option

Ticket: #4292
If pool is encrypted, skip configuration
Make logging to the syslog dataset optional

Ticket: #4326
Shooosh the warden a little bit.
Make Linux jails work on UFS

Ticket: #4268
Update for 9.2.1.2
Only set kern.corefile location if it exists
Handle switching system datasets (and the encrypted pool case) better
Handle dead symbolic links
Save the old directory if linking to a new directory
Use os.rename() instead of popen()
Kick the system datasets when a volume is locked and unlocked.
Fix a typo that prevents disabling netcli on serial console.

Ticket: #4269
(cherry picked from commit 5e11a98963b151c192ad9293b5834ef39c15e4ba)
Patch 1/3:

Fix a typo when setting sercons.  While I'm there also add proper
quotes.

Ticket: #4266
(cherry picked from commit 1d4f5a6d43d034bccb39566497069a2102d73624)
Patch 2/3:

Rewrite sercons handling: Don't rely on conscontrol to output consoles
in specified order.

Ticket: #4266
(cherry picked from commit fc92d71555760856e3f1e99bee32aeb994972b62)
Patch 3/3:

When serial console is enabled, prefer serial console.

Ticket: #4266
(cherry picked from commit 35dd252c30618878210452753c7853f2de305d13)
Filter out pf* and carp* interfaces from reporting graph

Ticket:	#4346
Discard None return values in alert system

Ticket:	#4345