support mopidy >=0.18
refactored IRControl
fixed refactoring and test codes
fixed event handling fo corlistner events