Merge the Isilon ATF code

This is a placeholder merge request to go over all of the items to ensure that I understand everything, some of the items from Isilon can be dropped as I dropped them from the atf branch (diff reduction), and make sure that any valid fixes from NetBSD can be pushed back.
The test does not fail if built without ATF. Using ATF and replacing ATF_REQUIRE_EQ_MSG() also works.  Needs further investigation.