Implemented basic alliances for matching.

Also now using the messages middleware and changed the password validation regex. The battle setup is now broken.