Remove duplicate code block

Signed-off-by: Daan Hoogland <daan@onecht.net>
CLOUDSTACK-5946: Commit 2774b62d64989bddc1e4664ef7a93dff11c77657 changed keystore file along with coverity fixes. Use varible name for keystore filename to keep it in sync
fixed CLOUDSTACK-7090 Console proxy key store password should be securely generated
CLOUDSTACK-7182: NPE while trying to deploy VMs in parallel in isolated network
The following changes are made:
- Check to see if network is implemented changed from 'state == Implementing||Implemented' to 'state == Implemented'.
The earlier check was a hack to prevent the issue described below.
- At the time of implementing network (using implementNetwork() method), if the VR needs to be deployed then
it follows the same path of regular VM deployment. This leads to a nested call to implementNetwork() while
preparing VR nics. This flow creates issues in dealing with network state transitions. The original call
puts network in "Implementing" state and then the nested call again tries to put it into same state resulting
in issues. In order to avoid it, implementNetwork() call for VR is replaced with below code.
Fix CID 1128968 Iterator modified during loop
Coverity: Fixing some of the coverity issues reported in CitrixResourceBase.java.

Signed-off-by: Rajani Karuturi <rajanikaruturi@gmail.com>
Fixed Coverity issues Reported
Fixed Coverity Issues Reported
Fixed Coverity Issues Reported
Fixed Coverity Issues Reported
Fixed Coverity Issues Reported
Fixed Coverity Issues Reported
Fixed Coverity Issues Reported
Fixed Coverity Issues Reported
Fixed Coverity Issues Reported
Fixed Coverity Issues Reported
Fixed Coverity Issue