Use transport and clean up code

This commit does two things:

1. cleans up code to ensure it follows ruby
recommended style

2. Move credential related code to transport method
of idrac provider
- credentials now come from device.conf
- moves tons of duplicated code to methods