[functional] Do not discover same resources for every test

Let's discover images, flavors and networks once per test process and store
it in global variable

Change-Id: Ife5133e541a4355f308a21658c7fcf4266f78091
1 file changed