vala: add init method to plugin and codec classes.

Signed-off-by: Evan Nemerson <evan@coeus-group.com>