Migrate activity meta functions to the WP metadata API.

See #4551

Props boonebgorges, johnjamesjacoby

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