Fix hash management in URL
The permalink copied to clipboard does not take into account the hash fragment of the URL. This fragment i not sent to the server by clients, so it has to be managed in js. It's important notably for TopAnat, without the hash, the permalink is useless.
Also, fix tests in
TEST_STABLE_ROOT_DIR, there's a problem when we need to manage the hash part with the method
getStableRequestURL. Maybe this highlights a wider design issue with the method signatures in