Move env vars to ruby wrapper and split upstart script in nginx and passenger scripts