Some tweaks to make integration tests run.

Add master status get/update. Fix Master_Get_By_Name to return a master, rather than just its metadata