A mother and son have been jailed after the XL Bully dog they kept at their home left an eight-year-old boy with life-changing injuries.