Return the vector itself for trim and resize method in PrimitiveVector.

(cherry picked from commit 16a2286d6d0e692e0d2e2d568a3c72c053f5047a)
Signed-off-by: Reynold Xin <rxin@apache.org>
Improved graph load (work in progress).