Moved CCoins, CTxOutCompressor, CTxInUndo, and CTxUndo to core.
Removed script.cpp's dependence on main.h