replace var $querystring with $query and $fragment #3589
remove fragment from link path string before check_url() #3589
remove fragment from string before looking up internal path #3589
also remove fragment before checking relative paths #3589
Merge pull request #3751 from openscholar/3589-baisong1

fix unable to enter menu links with fragments only (no query)