Update phase condition vector from primary variables.

This is necessary as an interim measure, since the phase condition vectors are still used in property calculations. A new function, updatePhaseCondFromPrimalVariable() has been created. It is called from updatePrimalVariableFromState() and updateState(), which are the only places the primalVariable_ member is changed.

From looking at the use of the condition variable, only the hasFreeGas() and hasFreeOil() members are used in the property classes as far as I can tell, yet we call setFreeWater() as well, to have the condition variable be as consistent with the simulation state as we can reasonably get it.