api#key/get: accept #master argument to generate only the master key.

For example, when creating new folder with a new random key-pair, we only need
to know/generate a master key. The secondary keys will be generated from that
automatically
api#__debug_cat: must redirect to /dev/null if #debug off