Port MicrosoftAccount middleware from Katana.

#41 

FYI: Microsoft Account has restrictions that make the samples difficult. See samples/SocialSample/Startup.cs
Do we need this commented code? Should we delete it? Uncomment it? Log a bug to track some work item?