changes done: adding the rspec for configuration

1. added the rspec for dellpowerconnect config
2. changed the lib code to easily inject the device object