Correct ruby-switch argument when using ruby<VERSION>-full

When setting `ruby::ruby_package => 'ruby1.9.1-full'` (or
`'ruby1.8-full`) the correct argument to `ruby-switch --set` is
`ruby1.9.1` (or `ruby1.8`), not the package name as is. Handle these two
cases explicitly when `ruby::switch` is set. Contains updated spec
tests.
simplify array handling

pass as argument to Array() constructor, rather than [@a].flatten.compact
This changes the default values for ruby_package and rubygems_package on ubuntu 1404.
Merge pull request #34 from wolfspyre/fix_ubuntu_1404

Change the defaults for ruby_package and rubygems_package on ubu 14.04
Merge pull request #33 from antaflos/switch_handle_full_package_names

Correct ruby-switch argument when using ruby<VERSION>-full
Merge pull request #32 from igalic/patch-1

simplify array handling
Add basic beaker tests
This adds extremely rudimentary beaker test coverage, as a starting point for future work.
Improve beaker test coverage
Add test cases installing ruby 1.9.1 and 1.8.7, similar to examples from README.md
Remove ruby-bundler package
No ruby-bundler package exists on debian 6 or 7, so adding that package breaks ruby::dev on debian
Add beaker coverage for ruby::dev
Remove ruby-bundler package from rspec tests
This goes along with the previous commit removing ruby-bundler due to that package not existing for debian
Trivial change to trigger travis
Remove non-existent rake tasks from travis config
Get rspec-puppet gem from gem instead of git