Navigation: Compare domains case-insensitively inside $.mobile.path

Closes gh-7486
Fixes gh-2446