Lusitanian/PHPoAuthLib — pull request #89 by thomaswelton (2013-08-29 00:46:52+00:00)
Title: Fixed deprecation warnings from foursquare

Foursquare requires you to pass a query variable `v=YYYYMMDD` that specifies the last date that your api implementation was checked against.

When making a call to to the API using the `AbstractService` `request` method I get the following warning

```php
stdClass Object
(
[meta] => stdClass Object
(
[code] => 200
[errorType] => deprecated
[errorDetail] => Please provide an API version to avoid future errors.See http://bit.ly/vywCav
)
)
```
Taking a look at http://bit.ly/vywCav says that we should be passing a a `v` query string parameter in the format of YYYYMMDD that specifies that last date that we checked out implementation of the API was up to date. If they have made a breaking change since that date we get several months in order to update our implementation.

I've added `$apiVersionDate` and passed that along with requests to the API path using `addToQuery` from `OAuth\Common\Http\Uri\Uri`

This removes the deprecation warnings from foursquare. And will allow us to check for any upcoming breaking changes in the future by looking out for the deprecated response foursquare returns.