add isUnit and isZero to Vector2 (based on Vector3)
use xoppa's idea as per PR discussion
Merge pull request #1206 from jrenner/vector

add isUnit and isZero to Vector2 (based on Vector3)