Add ruby 2.3.1 to setup
Update ruby version to current stable 2.1.4

This release includes security fixes for the following vulnerabilities:

* CVE-2014-8080: Denial of Service XML Expansion
* Changed default settings of ext/openssl related to CVE-2014-3566

And there are some bug-fixes.
Merge pull request #2125 from opf/hotfix/set_ruby_version_for_pachager

Hotfix to set ruby version for packager
Merge branch 'release/4.0' into dev