added new validation lib

added new validation lib, updated extension:

- [x] finish the code
- [ ] gather feedback for my changes
- [x] submit changes to the documentation


| Q             | A
| ------------- | ---
| Bug fix?      | no
| New feature?  | no
| Tests pass?   | yes
| Fixed tickets | no
| Doc           | none