Copy darwin mount code from Russ Cox' FUSE.

Split off some linux specific tests.