Prevent duplicate entries to buddy list

When adding the same friend id more than once - do not generate
additional entries in the buddy list.

closes #5