LRDOCS-812 Opensocial google api

These changes from Cody are reviewed and ready for upstream master. Thanks.