Prevent fragments (urls starting with '#') from being re-qualified

Updated `OnQualifyUrl` in both the .js and .cs flavors to leave fragment-only urls untouched.