fix SendAnalytics when error occurs (that make apps crash if cannot send analytics to facebook)
add mobile param when generate login link url in Windows Phone environment
Merge pull request #30 from langtu/master

Merging fix to a bug in SendAnalytics which would crash when the analytics could not be sent over.