ecteodoro/google-distance-matrix — pull request #2 by temsa (2014-11-18 17:49:39+00:00)
Title: Fix #1 google signature for Business client/key pair

First sorry for the mess in the diff, due to my Atom formatter plugin.

I've mostly added/changed 2 lines at the start of ```makeRequest```:
```
debug("request options", options)
var requestURL = GOOGLE_DISTANCE_API_URL + qs.stringify(options, GOOGLE_DISTANCE_API_URL);
```

- The first line was to have an easy & pretty standard tool to debug the resulting URL, [debug](https://github.com/visionmedia/debug)

- The second line was changing the library [qs](https://github.com/hapijs/qs) made to create the query string to an almost drop'in replacement I've made, [qs-google-signature](https://github.com/temsa/qs-google-signature), in order to magically sign the Google Maps request according to [its spec](https://developers.google.com/maps/documentation/business/webservices/auth#digital_signatures) , for Business client/key usage