Bug 728911 - Fixes to libgimpwidgets for c++ plugins using gimpui

Add missing G_END_DECLS to libgimpwidgets headers.
Avoid use of c++ "private" keyword.