added validator/validator.d.ts

add definition for https://github.com/chriso/validator.js

done below:
- `tsc --noImplicitAny validator/validator.d.ts`
- `tsc --noImplicitAny --module commonjs validator/validator-tests.ts`
- `npm test`