Added State_Machine GEM, added friend request emails, configured how friendships work