switch to sameersbn/debian:jessie.20140918 baseimage
do not install the build-essential metapackage, cherrypick what we want
moved dev package installation to install script

the dev packages are purged at the end of the gem installation as these
packages are not required anymore.