Added validation options for equal and unique fields

- added validation for equal field
- added validation for unique field
- added db.php for test db generation based on PDO sqlite