'Remote' instance object creation in configure_*()

configure_{master,slave}() creates a remote object to execute commands
on the remote host over ssh. This keeps the interface of configure_*()
same.

Signed-off-by: Shashank Sahni <shredder12@gmail.com>