phases: make _filterunknown a member function of phasecache
We'd like the ability to call filterunknown on an existing phasecache
instance after nodes are destroyed.
Testing that hghave does not crash when checking features $ "$TESTDIR/hghave" --test-features 2>/dev/null