Allow setting of api_ver through API client

Cleaned up api default param setting code to allow overrides.