add mount point stat to stat module

Tests if a path is a mount point.