Changing LockedPageManager to use a managed instance

This ensures the allocator is ready no matter when it's needed (as
some STL implementations allocate in constructors -- i.e., MSVC's STL
in debug builds).
Including test_bitcoin in the CMake build.
Merge branch 'lockedpage-change' of https://github.com/sarchar/bitcoin into cmake-build
Finalizing test_bitcoin target.

Tests run and work on build from MSVC1020.