lib: API changes: initializator and new context
lib: API changes: initializator and new context

This patch introduce some API changes on the library mode. Since the
new lib context was introduced, this change how the library must be used
from a parent caller.

This patch affect several tests and examples that needs adjustment.

Signed-off-by: Eduardo Silva <81f705dc2ce1a61a2621e0e4b442a9474e1d0c70@treasure-data.com>

LogInsight/fluent-bit,pandax381/fluent-bit,fluent/fluent-bit,LogInsight/fluent-bit,LogInsight/fluent-bit,fluent/fluent-bit,pandax381/fluent-bit,takahasi/fluent-bit,fluent/fluent-bit,pandax381/fluent-bit,takahasi/fluent-bit,fluent/fluent-bit,takahasi/fluent-bit,pandax381/fluent-bit,fluent/fluent-bit,nokute78/fluent-bit,takahasi/fluent-bit,pandax381/fluent-bit,nokute78/fluent-bit,fluent/fluent-bit,fluent/fluent-bit,nokute78/fluent-bit,LogInsight/fluent-bit,nokute78/fluent-bit,takahasi/fluent-bit,nokute78/fluent-bit,nokute78/fluent-bit,nokute78/fluent-bit,nokute78/fluent-bit,fluent/fluent-bit,takahasi/fluent-bit,pandax381/fluent-bit,fluent/fluent-bit,LogInsight/fluent-bit,pandax381/fluent-bit,pandax381/fluent-bit,takahasi/fluent-bit,nokute78/fluent-bit,nokute78/fluent-bit,LogInsight/fluent-bit,nokute78/fluent-bit,nokute78/fluent-bit,takahasi/fluent-bit,LogInsight/fluent-bit,fluent/fluent-bit,fluent/fluent-bit,fluent/fluent-bit,LogInsight/fluent-bit