Crypto/Point: Added test coverage and documentation, and refactors validation.

- Adds jsdocs to crypto/point.js
- Adds test coverage
- Refactors validation and others