Bug Fixed: Redirect `home` to `/` && Open home page automatically in development mode

1. Since express has   Removed `res.redirect('home')` support  after the
version `3.0.0alpha1 / 2012-04-15`, It may lead a 404 error in some
error handling situation.

2. Open home page automatically in Windows, Linux && Mac platform when using `node app.js` to start the we server
用open命令，使用默認瀏覽器打開。

—
Sent from Mailbox

On Sun, Jun 22, 2014 at 10:50 PM, Jackson Tian <notifications@github.com>
wrote:

>>    console.log("You can debug your app with http://" + config.hostname + ':' + config.port);
>> +  if (app.settings.env === 'development') {
>> +    if (osPlatform === 'linux'){
>> +      cmdProcess.exec('firefox http://' + config.hostname + ':' + config.port)
> linux下情况可能比较糟，没有firefox很正常
> ---
> Reply to this email directly or view it on GitHub:
> https://github.com/cnodejs/nodeclub/pull/352/files#r14054868