Adapt to OC 5.0.5 / current Google API

These are my changes to run gsync on OC 5.0.5 at the current Google API (as of 2013-05-23)