added new api versioning support

As [4sq changed their versioning scheme](https://developer.foursquare.com/overview/versioning), this modification should come in handy.