[ticket/13280] Remove unneeded str_replace in build_url()

PHPBB3-13280
Merge pull request #3107 from marc1706/ticket/13280

[ticket/13280] Properly format the current page and add sanitizer to tests

* marc1706/ticket/13280:
  [ticket/13280] Remove unneeded str_replace in build_url()
  [ticket/13280] Only run sanitizer for server superglobal and modify tests
  [ticket/13280] Seperate server sanitizer call and add comment
  [ticket/13280] Add additional sanitizer for ampersands in server superglobal
  [ticket/13280] Correctly format user page for build_url()
  [ticket/13280] Properly format the current page and add sanitizer to tests
[ticket/13303] Speed up migration dependency calculation.

PHPBB3-13303
Merge pull request #3117 from prototech/ticket/13303

[ticket/13303] Speed up migration dependency calculation.

* prototech/ticket/13303:
  [ticket/13303] Speed up migration dependency calculation.