Improve inline docs in bp-forums. See #5022

git-svn-id: https://buddypress.svn.wordpress.org/trunk@7468 cdf35c40-ae34-48e0-9cc9-0c9da1808c22
Sanitize more gently in component *_update_meta() functions

Previous sanitization techniques resulted in double-sanitization. Recent
changes in how WP's SQL sanitization routines work have surfaced this problem,
in particular as regards line breaks. By removing the extraneous call to
esc_sql(), we ensure that line breaks are preserved, and sanitization is left
to $wpdb->prepare().

Change applied in update_meta() functions through bp-groups, bp-activity, and
bp-xprofile. Also adds corresponding unit tests.

Fixes #5180

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