Added functionality to send message after pressing Enter
Change in promise libs from rsvp to Q