Add expectedDeprecated like_escape flags for relevant unit tests

This will allow our CI builds to pass against WP trunk, until a more permanent
solution is found for #5701.

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