Fix deprecation warnings and add Travis CI for build status.

- Use 'express()' instead of 'express.createServer()'
- Use `path.existsSync` instead of `fs.existsSync`
- Remove trailing whitespaces
- Add travis CI for Node v0.8.