Thunderbird address book integration

This implements most of #11.