Gpgs

This brings GPGS code up to speed to latest 5.0 release, commits are brought over from android-samples repository. Not much user facing changed.
While at it, I also fixed a whole bunch of offending whitespace.
I'd also love to get rid of binaries that haunt this repository, that's really not a good idea. Maybe if they were in a different repository…