Sending endpoint type to AAD with client metrics

Updating persistent cache in WinRT with Clear and DeleteItem operations
passing ex instead would include that. Fixed.