Add support for old invitation format.

The invitation format has been changed and the old style invitation link
are not working. New route and controller logic added to fix this.
Merge pull request #616 from loomio/bug/check-for-old-invites

Add support for old invitation format