Replace static SMWSQLStore3::getPropertyTables call

Replace SMWSQLStore3::getPropertyTables with $this->store->getPropertyTables()
Replace wfGetDB call in SMWSQLStore3Writers::deleteSubject
Merge pull request #236 from SemanticMediaWiki/sqlstore-writer

Replace wfGetDB call in SMWSQLStore3Writers::deleteSubject