PVector additions with tests for p5 API parity [#1981]

additions: fromAngle, heading, lerp, magSq, random2D, random3D, rotate, setMag
Fixes https://processing-js.lighthouseapp.com/projects/41284-processingjs/tickets/1981