Update init.d for CentOS 6.4 and GitLab 6.2

This uses the git users PATH when starting unicorn and sidekiq.
Set RAILS_ENV via variable.
Also includes changes from PR #138 and #145.