[TIMODOPEN-246] iOS/Android: adding support for publishInstall method

https://jira.appcelerator.org/browse/TIMODOPEN-246