Fixed handling of log out error on api (wasnt doing jack)
Added js api to notify of user being logged out
Merge pull request #899 from lodle/DESURA-823

Desura 823