If `whenever_environment` is not set, and neither is `rails_env` go for capistrano stage before defaulting to production

Most people should use capistrano stage names which mirror their environment names
PR for https://github.com/javan/whenever/issues/485