added repo member to generic tool

The tool base class tools/Generic now has a member `fs::path repo` which subclasses may use to gain access to the repository path. Just before calling the subclass' main(), repo is set to the value of opt_repository, thus parsing that string as a path.

The tools db-add, db-list, and db-meta now use this member. Maybe the generic tool should also do some error checking?