Use rubocop 0.24
And fix minor syntax
Move agent ports to attributes
Fix NoMethodError in agent registration

See:
https://github.com/MurgaNikolay/zabbix/commit/23b79c38293f4515a4ba421722d73e4f25f6acfc
Merge pull request #183 from swalberg/master

Move interface ports to attributes and fix NME problem in autoreg
Merge pull request #175 from optiflows-cookbooks/rubocop_0.24

Use rubocop 0.24
Merge remote-tracking branch 'upstream/master'