Improve _buildUrl

Only use sessionId and countryCode if it exists.
No longer uses _.merge, instead we just add to the querystring argument.