core: [Fix] PCI limit in update VM template NIC

* The UpdateVmTemplateInterfaceCommand didn't account for the updated
NICs while passing the interfaces list to the checkPciAndIdeLimits
procedure, so the limit number of NICs could be exceeded when update
the VmInterfaceType. This change fixes this behaviour.
* And was fixed the parameters in the AddVmTemplateInterfaceCommand.

Change-Id: I985e9adeefb00872542f7473f44fb25d44453f8a
Signed-off-by: Gustavo Pedrosa <gustavo.pedrosa@eldorado.org.br>