Add FilteringPathname

This class behaves like Pathname but filters the filesystem and
is optionally immutable.

The implementation leans heavily on method_missing in order to
centralise the filtering, conversion, and mutability logic.

[#61738342]