[LIBCLOUD-587] ex_modify_network_attributes method

[LIBCLOUD-587] fix logic
Merge branch 'LIBCLOUD-586_add_ex_modify_network_attributes_method' of https://github.com/zerthimon/libcloud into LIBCLOUD-586_add_ex_modify_network_attributes_method