[TIMOB-12771] Fixed analytics to only send payload when logged in.
Merge pull request #34 from appcelerator/timob-12771

[TIMOB-12771] Fixed analytics to only send payload when logged in.
Merge branch 'master' of https://github.com/appcelerator/node-appc