Replace individual functions for putting-nodes-in and removing-nodes-from
maintenance with a single setMaintenance function. I believe this change
improves maintainability, and is more consistent with the undrlying client
api.
Change-Id: Ic23c72daa873891776fbb7669ccb44bfc6a11f4b