Move teardownTestDB and wfLogProfilingData out of MWPHPUnitCommand

Change-Id: Ic175c1457e7f76a2b5232a2b5d3563c5982cfee2
Merge "Move teardownTestDB and wfLogProfilingData out of MWPHPUnitCommand"