Merge pull request #19 from MSOpenTech/build

Fixing build related issues
Merge pull request #21 from MSOpenTech/build

Enabling sync API and adding p-Invoke to get UserPrincipalName for non-interactive plus WIA in ADAL .NET
Updating UserId model
Minor fix to tests and addressing code review comment
Removing extra using statement
Merge pull request #23 from MSOpenTech/userid

Updating UserId model
Added forms auth support

Added forms auth support
Fixed issues and review comments.
Updating cache model
Renamed method

Renamed method
Near Expiry password feature

Near Expiry password feature
Updating token cache tests and adding new notification BeforeWrite
Fixing WinRT cache based on local settings
Updating tests
Adding cache to AcquireTokenByAuthorizationCode
Updated as per comments and added refresh session

Updated as per comments and added refresh session
Merge pull request #27 from MSOpenTech/near-expiry-password

Near expiry password feature
clean up
Merge pull request #29 from MSOpenTech/near-expiry-password

clean up as per afshin's comments
Returning IdToken in result.
Throwing exception if federation metadata is null in user realm discovery
Adding token cache tests