fixes the vm state of a server, changes GETs of invalid flavor and image...

... to be 400 and includes name on valid GETs for flavor and image