Process login, avoid duplicate nicks, display list of logged in nicks or invite message.
Move the JS code out of index.html, and address coding style nits.
Use double quotes to avoid ugly escaping in presence_api_test.js.
Merge pull request #7 from fqueze/login

Process login, avoid duplicate nicks, display list of logged in nicks or invite message.