Implemented update host functionality. Also added test case for update host. Partial-Implements: blueprint masakari-dashboard Change-Id: I197440d069a1b5b49a234da8f05a01d45f222f2e