support python binding of diagnostic_updater on groovy

a patch to solve https://github.com/ros/diagnostics/issues/25#