Move Vector2d to own file and provide test cases

- enable test automation infrastructure (grunt test)
- moved Vector2d code to new script
- added test suite for Vector2d

Important note: A dependency was updated in the build system, so please run 'npm install' to get the correct dependencies installed!