Added Logout menu option.
Added logic to handle instance URL.
Merge pull request #2 from mdzyuba/add_logout_and_instanceurl_setting

Added Logout menu option.