Allow RAILS_ENV to be set in sysvinit-thin

Install script on AWS uses development mode by default
Merge branch 'hotfix/0.19.0.2' into rails-3-develop