Use method execute instead of transport.command
Fix spaces
Explicit use of the device given the block
Extract connection and disconnection behaviours
Remove unused verbose parameter, add debug in the transport
Disable debug log in the transport
Fixed URI encoding problem with requirement string

When passing a requirement string with an unescaped URI character,
such as '>= 1.0.3' to puppet module install, an error would be raised.
Added URI escape to make_http_request to ensure all URIs are properly
escaped.
Fix encoding problem with test file
Merge branch 'pull-1460'
Add the debug parameter in device.conf
Merge branch 'pull-1329'