SQOOP-1509: Sqoop2: Sqoop2 Rest API refactoring

(Veena Basavaraj via Abraham Elmahrek)