minor change of getAccountTypeForAccount in AnalyticsUtils

Rename the method from getAccountTypeForAccount into
getEmailProviderForAddress because
- it doesn't return a type in the sense of POP/IMAP/etc
- the input isn't an accounts.Account

Also, refactor to use `equals` on domain rather than `endsWith` on
address.

Also, canonicalize to lower case.

Change-Id: I616ffb2df5300741bc147914648f80ec0fc3dccd
3 files changed