first commit,copied the kunena 2 plugin code for kunena 3 plugin development

Signed-off-by: TomWu <phperwuhan@gmail.com>