Deployment fixes

http://ralph.allegrogroup.com/buildbot/builders/unittest-ralph-vi4m/builds/119

While mass deployment, check if IP address is already assigned to given device or free.