Update templates/directoryIndex.html

Adding a / at the end of directory links makes shiny-server work with the apache mod_proxy module ProxyPass directive
Merge pull request #7 from jtoloe/patch-1

Update templates/directoryIndex.html
Daemon now runs in background, outputs to log file.
Adding missing lockfile variable
Merge pull request #8 from danbentley/redhat-daemon-fix

Redhat daemon fix
Warn, don't crash, when req has no address
httpuv compatibility changes
More httpuv compatibility work
Deal gracefully with R websocket close

Before httpuv we would not receive wsClient.onclose event during graceful
session end (i.e. browser reload). I believe this may be because the
websockets package did not send a close frame back to the client when one
is received, whereas httpuv does. To detect when a close is graceful, we
see if the sockjs connection has already closed. Without this check, the
appWorkerHandle (which is already null) is accessed which causes the
nodejs process to exit.
Bump version to 0.3.2
Remove pausing code from http proxy logic

This was causing corruption in proxied HTTP request bodies, maybe
because of the combination of "buffer" and pausing which both are
trying to do the same thing.
Touching restart.txt in an app dir forces a restart
Oops, can't use 4-part version numbers
Set SHINY_SERVER_VERSION env var in R process
Merge remote-tracking branch 'origin/master' into configurable-timeouts