Python 3 fixes from work on planemo.
Update galaxy tool components with changes to enable planemo.

https://github.com/jmchilton/planemo