Some tweaks to make integration tests run.

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