[WIP] Add simple Validation constraints for Symfony.

See the [Symfony validator component documentation][1].

[1]: http://symfony.com/doc/current/cookbook/validation/custom_constraint.html