Target beat third-quarter sales expectations and raised its guidance as it continues a turnaround effort.