Added PrincipalExtensions and updated to .net 4.5