Merge pull request #11 from samb0t/master

Fix issue where refreshing with a leaveAfterCount of 0 would not add listeners.
For Issue #1 - /brb command (named to avoid colliding with existing /afk cmd,
which only goes afk): posts emote message and chat-log, sets status to AFK,
leaves after next track. Up next: save off autowoot status and restore
on return.
fixing some bugs introduced by the 11/24 API update.  also making sure /leaveafter with no params makes a chatLog call
Merge remote-tracking branch 'upstream/master'
Issue #1: /brb command, which is /afk plus:
 - turn off autowoot, save current autowoot status for restore
 - post emote to chat log
 - do a /leaveafter
Merge pull request #13 from benetd/master

Issue #1: /brb command
making sure we don't accidently double up on our hooks... this can happen if you have an unpacked and normal extension both enabled...
tweaking /brb a bit:
* clicking woot when dropping out of AFK is autowoot is enabled
* telling you you're already AFK when you try to re-afk
* only /leaveafter if currently playing
* leave waitlist if queued but not playing
fixing and simplifying the previous checkin:
* fixing syntax problem. this.isQueued is not a function...
* /brb was leaving after two tracks if currently playing
* making leaveafter() callable without any params so it can be used easily internally
implement enhancement #2: adding /chatsound and html5 audio sounds for chats
Since API is not ready during App constructor, always call API.getUser() in this.user getter.