added MissingLocalResourceChecker

* plus many corresponding refactorings in URLUtil and HTMLPage.
* Had to adjust several testcases.