spotify: fix lint
spotify: emit "open" and "close" events

Corresponds to the internal WebSocket socket connection.
spotify: handle sp/ping_flash2 commands
Merge remote-tracking branch 'origin/ping_flash_2' into api-redesign

Conflicts:
	lib/spotify.js