[SPARK-4673][SQL] Optimizing limit using coalesce

Optimizing limit using coalesce to avoid shuffle.
Hmm, I will try this. Actually i am not clear why we need ```copy``` here, @rxin added it to fix a bug. Hi @rxin, can you explain this?