Adding Support for baseUrl to Have GET Parameter

For the baseUrl having GET parameter the resulting prev page, page and next page was resulting in wrong value, e.g. For baseUrl: `http://example.com?a=1&b=2` the resulting next page was `http://example.com?a=1&b=2?page=2`. This was wrong, it should be `http://example.com?a=1&b=2&page=2`.

Additionally Grunt configuration was not working as expected with the latest node. `package.json` and grunt file are changed accordingly.