Pylint and other minor changes in OMX_ExpectEvent.py