Using boost::call_once to guarantee thread-safe static initialization.
Merge branch 'lockedpage-change' of https://github.com/sarchar/bitcoin into cmake-build
Link against QREncode if it's available (committing all)