Add changes from v1.8 from wp.org repo.
Declare new stdClass for $bp->groupblog object.
Fix deprecated reference.
For groupblog redirect, use get_home_url() instead of get_blog_details().
Fix blog roles on group promotion / demotion.

* Add logic to bp_groupblog_upgrade_user() to account for promotion / demotions
* Remove $blog_id global in bp_groupblog_get_user_role().  Was interfering with
  getting the true blog ID for the user.

Also:

* Deprecate $user_login paramter in bp_groupblog_get_user_role().  Was not being
  used in the function.
Add additional role changes to bp_groupblog_upgrade_user().

* Account for banning and removing users.  Switch these user's roles to
  'subscriber'.
* Remove bp_groupblog_remove_user() hooked to 'groups_banned_member' as the
  parameters did not match.
Fix wrong parameter usage in bp_groupblog_get_user_role().

Also remove unused globals and clean up the function.
Get blog prefix for user meta value in bp_groupblog_get_user_role().
Switch out old TextAreaExpander JS for expandingTextarea().

Licensed under the MIT:
https://github.com/bgrins/ExpandingTextareas
Update error strings so BP Groupblog's custom blog validation works.

When WP merged multisite functionality into core, they changed a bunch of
strings from 'blog' to 'site'.

BP Groupblog's custom blog validation relies on some of these strings when
parsing the error message.

Since the error message strings changed, BP Groupblog's validation could
never properly validate.

This commit fixes this issue, which occurred in WP 3.0 and 3.3.1.

We should watch out for any string changes in the future to prevent this
from happening again.