BuddyPress 1.7 theme compatibility

Wow! That was hard! Also updates to the sharing functionality (added
sharing to activity stream, groups and cc articles)