Various encoding fixes

Ticket: #5015
Auto-Commit of i18n data from Pootle
Use sysctl to retrieve hw info
Compute global configuration only once

Ticket:	#4929
Use actual tag value for portal instead of unicode repr

Ticket:	#4929
Remove unused iSCSI models import

Ticket:	#4929
Add some config options to emulate istgt

For the purposes of A/B testing it's useful to pretend to be istgt.

Ticket: #5230
The whole field should be 32 characters long, not the serial.

Ticket: #5230
Add missing response for dataset delete
Document dataset delete API

Ticket:	#5239
Fix error in generation of ctl.conf

Ticket: #5240
Validate hostname field

Ticket:	#5231
Unbreak scponly as a shell choice.

Ticket: #3287
Fix regex to work when status isn't the last line of ifconfig output.

Ticket: #5243
Apple decides to stand up for itself
Don't include new jail in id check

Ticket: #5245
write out an /etc/hosts file, even if /etc/rc.conf exists

Ticket: #5247
Change print to print()
to future-proof if we try to run scripts with Python 3
Add some logic for booting the ISO using bhyve,
if the ISO is using the grub bootloader.
Python 3 fixes.