Lazyadd qps to ctx.availableLocales if needed
Make the second argument to registerLocales optional
fixed sharedtest/l10n tests