Dynamically determine max ram/disk for flavor tests

* Modified test_flavors to determine at run time the largest
  ram and disk provided by the environment and use those values
  in filtering tests
* Replaced usages of assertTrue with assertEqual

Change-Id: I2c9099b96944ff3292fa66d0d851a93672951cc4
Merge "Dynamically determine max ram/disk for flavor tests"