Diagnose references that lead nowhere and report extra YAML documents

Merged
JV
1d ago
+605-134

Signed-off-by: Juan Cruz Viotti jv@jviotti.com