Merge pull request #359 from priand/playground

Playground fixes & enhancements
Merge pull request #360 from priand/playground

Fixed the playground for Twitter and Dropbox
handling NPE in Profiles and communities
correcting the error message
Merge pull request #361 from swatisingh10/FixForCommunityAndProfilesSamples

handling NPE in Profiles and communities
Preliminary support for OS gadgets