Allow an environment name to be passed to App::environment directly

It would be nice to not have to do the comparison in the conditional:

    if (App::environment('local'))
    {
        // some dev stuff
    }

instead of currently doing this:

    if (App::environment() == 'local')
    {
        // some dev stuff
    }