add rubocop.yml

An initial .rubocop.yml, based on existing observations. Can be extended to match expectations.
Added these (6fa3547) and added missing trailing commas in software defs to make it pass.