fixes #3020 - API v2 - option to specify version in URL as well as in header

If specified in both, then current in URL 'wins' over header.

Order of priority
1. URL - /v1/ or /v2/
2. header - version=2
3. default - if neither URL or header is specified.