Change GUIWindowManager.SendMessage(msg, winid) to handle window id 0 condition,
which sent by CApplicationMessenger::SendGUIMessage by if no window id specified.
Add autopool for IOSKeyboard main function, in case it is called
from somewhere no pool was set.
In callback method of ShowAndGetInput, send messages in safe way, maybe it is called
from non xbmc main thread.
Python interface can use native keyboard if possible (currently if autoclose==0).