Added Québecoin (QBC), fixed (read: created) RPC caching, tidied up code organisation a little.