Ensure that dynamic_reconfigure returns unicode strings

Ensure that dynamic_reconfigure returns unicode strings and fix code to work for Python 3