Careport fix query to values

A query string with a hash nested inside an array breaks the ```QueryMapper::query_to_values``` method. I added a fix and a test.

I also fixed a bunch of deprecation messages when running the test suite.

Thanks for your work on WebMock :smile: