Added PUT and DELETE to hosts controller

Change-Id: I4899e97500b3a459c08303fac9cfb3cc175cb4b4