Refactor/test friendly Ruby alternative to ci_build_stemcell.sh
Use Ruby 1.9 hash style
Move ci_build_stemcell.sh logic into ruby