fixed replica_set creation, attributes and some error handling

- Changed `replica_set` to `replicaSet`
- default `node_address_attribute` to be `ipaddress`
- default priority to 0 for hidden master