Integrating Faye
Merge branch 'master' into wip
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
fixed #20 step implicitly loaded on client

* <script src=/client/depends.coffee> adds 2 methods to the global
name-space - depends and step.
* the real step is only loaded the first time it is to be used.
update template comment in debug-watch-directories
Merge branch 'refs/heads/wip'

Conflicts:
	client/depends.coffee
	scratch/app.coffee