Ignore close callback when closed.

This fixes a bug where closing a bullet
connection in poll mode will not work.
Fix jshint warning.
Drop reference to xhr request when done.
Add buttons to demonstrate sending for all bullet connections.
Use xhr for sending with eventsource connections.
Merge branch 'eventsource-xhr-send' of git://github.com/jdavisp3/bullet
Merge branch 'master' of git://github.com/extend/bullet into jsonp_improved

Conflicts:
	examples/clock/src/toppage_handler.erl