moved emotions to server side

*  removed emotions from index.php
* added emotions function to server.php
* run new emoticons function when new message is received