Make sure eventChangeKeyFocus is properly triggered in all cases where key focus changes
Fix eventChangeMouseFocus not being triggered in certain conditions
Merge pull request #43 from scrawl/inputmanager

Inputmanager change focus events (Fixes #28)