Added js api client: client, authentication, message(post). Fixed added new message when chat is a draft, changed parameters for joinChat form and createChat form. Updated 404 and 500 templates
Merge branch 'dev' of github.com:MySmile/sfchat into dev