Add attributes to state of WinConsole

The fields bold, underline, and reverse are added to WinConsole struct. These will be written in attr() and read in apply().