Allow market_engine.cpp to be compiled as a stand-alone cpp file speed up compiles.  This involved creating a header file for market_engine.cpp as well as moving the class declaration for chain_database_impl into its own header file so market_engine.cpp could reference it.
Add /bigobj to wallet.cpp compilation flags on Windows