Spe9 fixes

This collects the following two fixes towards making spe9 converge:
 - Modify well control equation to be nonzero for non-flowing wells.
 - Fix a bug in capillary pressure usage (pcow must be subtracted, not added).

Also a few debugging helper macros. There are a few (commented out) uses of them as well.