Add invite functionality

Made it so that when add_connection is called on a UserAccount it only
adds the connection to connected_accounts if it has received an invite
from the other user.  Otherwise, it sends an invite to the other user.