Additional refactoring in FirstLogon.ps1

Puts the VirtIO installation routines into proper functions.