Vector3: Added array and offset to toArray()
Vector2: Added array and offset to toArray()
Vector4: Added array and offset to toArray()
Quaternion: Added array and offset to toArray()
Vector2 toArray(): return array
Vector3 toArray(): return array
Vector4 toArray(): return array
Quaternion toArray(): return array; fix property names
Vector*, Quaternion toArray: cleaner code
Merge pull request #5453 from arose/patch-1

Vector3: Added array and offset to toArray()