Enable invitations whenever invitations are enabled.

Use the same logic as GNU social does: invitations enabled and registration not closed.
Merge pull request #31 from rozzin/invite-button

Enable invitations whenever invitations are enabled.