Code linting
Fixed regexp to avoid wrong or incomplete matchings and also for consistency and linting
Rewritten go method, now it actually count the number of params a route has and try to match them with the ones passed to the function, if a match is found the hash is updated to the new one and then the Router itself take care of the routing. NB: the setTimeout 0 at the end is necessary to trigger the manual address change
Removed oldHash from the param passed to onChangeLocation (not used anywhere inside the method called)