Integrating Faye
fixed #11 - added pubsub

* check in scratch for temporary tests
* depends.script_loader can be called run server side scripts and run
the resulting javascript on the browser.
* wrappers for faye - see server.coffee for examples
* watch scratch for a server restart also
* terminate server from a URL

# Using faye for pubsub.

# client:
# step(
#   () ->
#     @depends '/client/faye.coffee'
#   (error, faye) ->
#     faye.subscribe '/channel', (message) ->
#       console.log message.text
#     ...
#     faye.publish '/channel', text: 'Hello'
# )

# Same server:
# environment.faye.subscribe '/channel', (message) ->
#   console.log message.text
# ...
# environment.faye.publish '/channel', text: 'Hello'

# Different server:
# faye = require('faye')('http://localhost:9009/faye')
# faye.subscribe '/channel', (message) ->
#   console.log message.text
#   ...
# faye.publish '/channel', text: 'Hello'

See scratch/app.coffee and test-faye.server.coffee for a running
example, url = http://localhost:9009/scratch/index.html