Make the noexec, nosuid, mount_options, etc functions work

Shove the FreeBSD bits under a FreeBSD-specific check

Sponsored-by: EMC Isilon
Fix when error gets set

Sponsored-by: EMC Isilon
Apply noexec to tests that need it so that they don't fail errantly

Sponsored-by: EMC Isilon