Reverse bitcoin_hash in memory

This is a pretty big change. Please see the email on the mailing list. Let's hold off on merging this for a day or two, to be sure it's stable.