CLOUDSTACK-1502 Fixed the api-doc build component caused by new API commands:

addIpToNic
removeIpFromNic
listNics

1) Removed trailing whitespaces from commands.properties file for the commands above
2) Created a new category "Nic" in gen_toc.py for the new commands