Runescape hackers were able to exploit a double-spend glitch to generate trillions in in-game currency and use the profits to buy bitcoin.