Add integration test to check validity of all inpage hash links

- and fix the ~60 invalid links that were uncovered.