Make sure groupblog ID exists before trying to redirect. See #20
Whitespace
Remove unused global references for bp_groupblog_remove_user().
Use get_home_url() instead of get_blog_details().

Conflicts:
	bp-groupblog.php
Use some built-in BP API functions.
Remove bp_groupblog_create_blog().

This function isn't used anymore and is superseded by
groupblog_edit_settings().

Conflicts:
	bp-groupblog.php
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.
Switch out old TextAreaExpander JS for expandingTextarea().

Licensed under the MIT:
https://github.com/bgrins/ExpandingTextareas
Get blog prefix for user meta value in bp_groupblog_get_user_role().
Fix wrong parameter usage in bp_groupblog_get_user_role().

Also remove unused globals and clean up the function.

Conflicts:
	bp-groupblog.php
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.

Conflicts:
	bp-groupblog.php
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.

Conflicts:
	bp-groupblog.php
For groupblog redirect, use get_home_url() instead of get_blog_details().
Declare new stdClass for $bp->groupblog object.
Fix groupblog redirect problem once more.

Thanks to mrjarbenne for reporting and testing.
Fix blog roles on group ban and removal.

This commit adds back the 'ban' and 'remove' actions and drops the member
to subscriber for the groupblog in question.

Missed during a merge conflict stemming from commit f9d4824.
Remove unused $bp global in bp_groupblog_get_user_role().
Make sure groupblog ID exists before trying to redirect.

Basically reapplies changes from commit 45c91dc / 55fb215 due to merge
conflict from commit fa02cb2.