Rest API versionning

Here is the global idea about the rest api versioning:
I prefer the URL way rather than the Header way.

The idea is to add a float parameter to every method of the api.

Currently it supports:
`GET /v1/images/json`
`GET /v1.0/images/json`

and if there is no version information, it'll default to the current api version (1.0)
`GET /images/json == GET /v1.0/images/json`

@creak I know api methods now have 5 parameters, but as it mostly called in a loop & we added some extra parameters for the tests, it shouldn't be an issue.