This changeset reduces the cost for using `Repo` and `Worktree`
standard types for parameters and return value.
The respective constructors (`__init__()`) are reduced to merely
assign the essential `path` value. All parameter validation is moved to
corresponding class methods `.from_path()`.
The implementation of `(Ensure)Dataset` has been adjusted accordingly.
The flyweight pattern implementation has been simplified. There is no
longer a possibility of a difference between a given `path` parameter
given to the constructor, and the actual path by which uniqueness of an
instance is determined (which was previously the case due to internal
resolution of paths to worktree root paths).
All implementations of `.from_path()` class methods have been
homogenized to raise `ValueError` for any invalid path parameter values.
seealso: #57