Fixes bugs in BackBone & caused by invites_template

In BackBone script : fixes a bug appeared since WordPress 3.9
In Group inviation template ($invites_template global), fixes a bug appearing when the BuddyPress xprofile component is not active about the fullname attribute.