Core: Plugin: load dynamic and static plugins

This patch makes able to load plugins in static or dynamic mode
for those who provides a NETWORK_LAYER (Liana on this case).

Signed-off-by: Eduardo Silva <eduardo@monkey.io>