NEMO-2640 products api performance boost

provide querystring value to limit products api to master variants only. this is specifically intended to provide better performance for external integrations that don't intend to use variant information, while keeping backward compatibility with default behavior