[lua-factory] grl_source_init to check configs

The grl_source_init function is called at plugin initialization to check
if with current options we can use this source.