Fix warning of Bundle3D and modify light

1. remove unused variable from Bundle3D
2. modify return type of getDirection and getDirectionInWorld for Light, because it is not safe to return reference.