Properly remove the "Edit Page" WP adminbar menu when on a BP page.

'bp_init' is too early to run this as the WP adminbar sets up on
'template_redirect', which runs later.

Instead of 'bp_init', we run our adminbar overrides on
'add_admin_bar_menus', which is a more, appropriate hook to use.

git-svn-id: https://buddypress.svn.wordpress.org/trunk@7859 cdf35c40-ae34-48e0-9cc9-0c9da1808c22
Migrate user 'last_activity' data from usermeta to the activity table

Storing last_activity in usermeta caused severe bottlenecks on sites with
large user bases. The usermeta table has a tendency to get bloated. Its
option_value column is not indexed, and even if it were, it would not be
indexed properly for the kind of chronological sorting that BuddyPress was
using it for.

This changeset refactors all core last_activity user functionality, so that
the data is stored in the wp_bp_activity table (even when the activity
component is disabled).

For backward compatibility with plugins that reference last_activity metadata
entries, all last_activity data is retained in wp_usermeta, and new data will
be mirrored there until further notice.

See #5128

git-svn-id: https://buddypress.svn.wordpress.org/trunk@7860 cdf35c40-ae34-48e0-9cc9-0c9da1808c22
POT, generated from r7860

git-svn-id: https://buddypress.svn.wordpress.org/trunk@7861 cdf35c40-ae34-48e0-9cc9-0c9da1808c22