new header file 'common.h' containing common stuff for all plugins

Signed-off-by: Davide Madrisan <davide.madrisan@gmail.com>