rospy: use threading module rather than thread

This allows the python coverage tool to work in
callbacks.