Add flags to R5900 opcodes, use them for the debugger

This adds a flag field to all R5900 opcodes. I filled in the flags relevant to the debugger, so that I could get rid of all the hideous switch statements.