internal/rpc: cleanup/test all client error handling and bug fixes.

- use the thread safe functions in math/rand for exponential backoff
- the namespace client code was reseting an existing timeout

Change-Id: I9e8deece40dfe72d9551f13f30df3ec42a9d2058
7 files changed