Added a run_intrinsic() function to test_framework.py. This hook can be used by the extrinsic side to get the results of the intrinsic side of our tool. I also modified the way ReducedDocs are stored and queried so that extrinsic test documents don't collide with intrinsic test documents.