fixes #3338 - grey out VM form when editing is not supported

I went for JavaScript solution because it allows us a generic solution.
ComputeResources already have supports_update? methods and it is easy to
determine this in one place rather than editing all the fields and all
possible places. This will prevent errors when implementing new CRs.