add initial implementation for session close

Add changes to close the session from the Editor. As a temporary solution (that still not implies changes on the browser side), a status message is being show to the user and the web socket is being close. Probably not the final UX and long term solution. 

Essentially this change allows closing and restarting a session without requiring Brackets to be reloaded.