vm power state is not updating after, new host completion.
the host show page ajax vm-power-state is not working after creating a new host.
Steps to reproduce:
1. create a new host on a vm.
2. once successful, the page is redirected to the host show page.
3. vm power state is not updating.
fixes #5470 vm state doesn't load on show page after redirect from new host