fix integration testing with sphinx

* clean up page terms when the test starts
* turn on delta indexing for sphinx
* set proper timestamps on new pages