Struggling supermarket chain Kwik Save has secured a "substantial investment" that it hopes will reinvigorate the 229-store business.