Added a SSO OAuth example, and fix for a bug in SSO extension discovered on the way.

Such an example was requested here:

https://lists.tizen.org/pipermail/dev/2014-October/004545.html

so here it is.
2-space indent please, sorry missed this last time.