Add k-9 style avatars

This adds the "generated avatars" as discussed at length in #1027. This fixes #969.
Great, I'm on it!