added empty class frames for TagRef, BranchRef and NoteRef
Basic implementation of Ref inheritance
RefName: Do normal analyze if custom matched

If a custom matching rule has matched, we used to skip the branch/tag,
namespace and scope testing. This is bad, since we require that
information to create a meaningful internal object factory.
Implement Special-Ref construction
Implement Special-Refs factory
Privatify validiy check to static function

See contained doxygen poetry for detailed reasoning
Use static/virtual validation checker
Deprecate methods using Results uselessly
Fix assert