Use connect library for static file serving.

Connect.js is a very simple extension to the Node.js http functions that allow the usage of "middleware" and includes several useful middlewares. In this PR, I've installed Connect.js and started using its static file serving middleware instead of a hand-written one.