Boot order check

This patch mainly fix the problem that serial console output include some special code problem. With the special codes the scripts will can not check the boot order of boot status from serial console output by re. This function not include all linux console escape and control sequences, only include more which is using during the guest boot up. If you want to learn more about the escape and sequences you can use man console_codes to check more.

It also fix the boot order check not support qmp monitor output when get pci informations.