make ORMRow compatible with load balancer, replace usage of wfGetDB( DB_MASTER )