bug #2432: Update table layout when the image/network is provided using IMAGE and IMAGE_UNAME
(cherry picked from commit 388c4f8b0f80c842fadf54e3ea399954fa6159bf)
bug #2432: Select network/image in the template update wizard when provided using IMAGE and IMAGE_UNAME
	Contributed by Rolandas Naujikas
	TODO: Support IMAGE and IMAGE_UID also
(cherry picked from commit 0f3a76242545e5f595db0b8817f16037cc2b37ae)