Rubocop updates

Made updates for styling based on [rubocop styling guidelines](https://github.com/bbatsov/ruby-style-guide#the-ruby-style-guide).  Validated changes did not break functionality with `test kitchen`.