Return if the object is invalid
Add Group::isMember()
Add some security checks into ajax/sendMessage.php
ajax/sendMessage.php: Use exceptions to handle errors
ajax/sendMessage.php: Return a JSON string
ajax/sendMessage.php: Revert to $_POST
Show the response of ajax/sendMessage.php to the user when they send a message