Documentation: add script and build target to check for broken file references