Merged Social Signin code

Hi Dan,
I merged the social-signin branch as asked in the email and this is the pull request. I used a new branch on my fork in order to avoid a dirty master branch.

Please let me know if this is ok.
Cheers, Max.