yaranullin/event_system.py: fix bug in process_queue()
yaranullin/event_system.py: fix bug in process_queue()

Use stdlib inspect.getargspec() to get the number of arguments of the handler
function (or method) because its more reliable than catching a TypeError
exception.

ciappi/Yaranullin