Fixed URL Validity Checker

Ravi Shankar requested to merge sravi1210/gnome-maps:Ravi into master

modified-file: src/utils.js and tests/utilsTest.js

The utility function to detect a valid URL does not take into account the "//" followed by the URL scheme, so a simple string matching is required.

The tests/utilsTest.js is also modified to include a test-case that fails with the GUri parser but is a valid test case.

Closes Issue #318

Merge request reports