Messages can now be delivered

Added method sendMessage in message.class.php and fixed uncomplete
method add in settings.class.php
Fixes, changes, here and there...

Small changes in settings.class.php, message.class.php; deleted
chat.class.php because we don't need it anymore.