Make ACCOUNT_NAME/ACCOUNT_TYPE consistent.

Some code was using "account_name" and some was using "_sync_account".
Also move definitions so they can be accessed by Event, Calendar,
and EventsEntity.

bug 2420732
1 file changed