modified rest client: it now receives ip instead or url (port optional); added protection to the get_deployment_events method; made the inner apis 'private'; added a None default for events handler in the execute command; added a validate blueprint method