Refactor #9567 Add "limit" option to $modx->db->delete()
http://tracker.modx.com/issues/9567