Updated to access API v3

If config.youtubeKey is set, uses API v3, otherwise, falls back to API v2