Remove remaining wfGetDB from SMWSQLStore3Writers

Relates to #235, #236