adding cordova support to apisocket.py

Added a function named cordova to the ActivityAPI class of the apisocket.py. This would enable the messages from cordova to communicate with the native part lying in the cordova folder under sugar-toolkit.