HG-367: Working version of new url parsing;

Major refactoring of the URL parsing method, moved from RegExp to array based processing.
This PR should solve #9 and the case is added to the test case.
nope :sob: `pop()` returns string `slice` will do the trick though :smile: