Updated existing code and added openApplink() implement.

openAppLink: function(applinkHandle, campaignHandle);

Basically Distimo created a uri "http://app.lk/_applinkHandle_/redirect?[x=_campaignHandle_]" for each user application. When GET that, Distimo server will redirect it to the app world uri "http://appworld.blackberry.com/webstore/content/_appId_". 

openAppLink() function prevent the redirection, get the appId from the response header, and invoke app world with that. If it fails to get the appId, it will open browser with applink uri. That page will be redirected and app world is invoked showing the corresponding app.