tools: Add some missing includes.
installer: Save the installation log as the last step.
installer: Create an initial initrd unconditionally.

Now that the mkinitrd has been detached from installworld, the rescue
image is no longer part of the ISOs/IMGs, so we have to always create
one during installation, not just for encrypted setup.