maint - Add temp workaround for travis ruby 1.8.7

Rubygems broke travis builds on ruby 1.8.7:

travis-ci/travis-ci#1793
rubygems/rubygems#763

This patch is a temporary workaround until rubygems is updated.

Copied from: https://github.com/puppetlabs/puppet/commit/d58c7f04
(MCO-84) deprecate and remove flattened output

This commit adds deprecation warnings when using the :flatten display
preference.
(MCO-20) add unit tests for MCollective::Facts::Yaml_facts

This commit adds unit tests for the yaml_facts facts plugin.
(MCO-97) Config class does not parse fixnum config parameters correctly

In the past it was possible to set non integer like values where
integers where expected in config files. Example if publish_timeout =
five then publish_timeout would be set to 0.

This commit changes the way integer like strings are parsed so as to
fail if a non integer value is found.
Merge pull request #140 from ploubser/bug/master/mco-84

(MCO-84) deprecate and remove flattened output
Merge pull request #138 from ploubser/bug/master/mco-97

(MCO-97) Config class does not parse fixnum config parameters correctly
Merge pull request #139 from ploubser/bug/master/mco-20

(MCO-20) add unit tests for MCollective::Facts::Yaml_facts