add timeout to the changes longpoll feed
add timeout to the changes longpoll feed

both in the query so CouchDb would close the request properly,
and for the request itself if the client went offline (or changed ip
addresses) and the TCP connection went dead.

worst case, changes could be dead for 100 seconds

gdamjan/irclog-couchapp,gdamjan/irclog-couchapp