add tsd.mode and tsd.no_diediedie

Hi Chris, Hi Benoît,

Like many people we always deploy tsd in read/write pairs so we added a tsd.mode configuration option to disable read or write rpcs on the tsds.

Also we really don't want the diediedie rpc in our production environment, I used to just comment it out but as it's breaking backward compatibility, I added a config switch.

This is a really simple way to do and I'm sure there is more things we can disable in either mode so it may be worth it to spend more time on this as I know that some already requested that feature in the past.