[ruby] Adds rubocop config
Adds Chef::Node::ImmutableMash#to_hash patch

This makes it possible to convert (nested) node attributes to a
regular hash.