make server long-polling support anonymous & authenticated modes

First step of supporting anonymous instant share.  Requires everyone to update jshint using "npm install" after it merges.  

https://trello.com/c/al5ER6ei

We'd love some review!