Move agent ports to attributes
Fix NoMethodError in agent registration

See:
https://github.com/MurgaNikolay/zabbix/commit/23b79c38293f4515a4ba421722d73e4f25f6acfc