Fix null-pointer dereference during well construction

The three-argument WellsManager constructor needs access to the real
permeability field lest a null-pointer dereference result when the
problem actually contains any wells.
Merge pull request #395 from bska/nullptr-deref

Fix null-pointer dereference during well construction