Change references to prefs and Iterator
Change references to prefs and Iterator

Iterator() is gone in Thunderbird 57, and also the way to get at the
preferences also appears to have changed slightly.

bstreiff/unread-badge