A python util that wraps all the "public" methods (without "_" prefix) of a class with an RLock.