Performance improvements in old model.

1. Remove sort test in dg_query.js, since it causes object materialisation, which in sproutcore is slow.
2. Remove object cloning in parent relation.
Remove excess debug logging in case table controller.