update verifyClass.py

1. verify the state used, but not declared -> Error
2. verify the state declared, but not used -> Warning
3. verify the event used, but not declared -> Error
4. verify the event declared, but not used -> Warning