virttest.utils_misc: Add some code for strip_console_codes

Add some ESC code in the default value of console_codes to cover
more console escape and control sequences from console output.
Also add custom_codes to this function to cover more ESC code
if the test cases needed.