Copy classes from pluginkit which are useful for all nexus plugins

Signed-off-by: Alin Dreghiciu <adreghiciu@gmail.com>