Fix avatar classes

Only apply Bootstrap classes to avatars in comments. Fixes #964.