Groups 75% - Need to fix messaging & jQuery

Almost done with groups, which has been a fair amount of work to get
right due to syncing between different accounts both live and with the
database. However, it's almost all fixed up, so groups are appearing,
they can be made arbitrarily, there is some element of error checking
and the database is reflecting the status of members / invites &
requests.