bug fix: Vector.rotate()

and add qunit.d.ts