nanny: Change add policy functionality

- Add funtions to add policy by node and by doc
- Change reading of policies to make use of ni_ifconfig_read()
- Adapt addpolicy option accordingly