65 query params refactoring

This changes the api signature of API calls to both open gateway and pal environment.

Note the logic for using the live env to determine PAL base uri. It means that it can never be configured to hit www.live.bbc.co.uk as this translates to www.bbc.co.uk. This is due to using the module option 'env' that is shared for OG and PAL.