Feature sf2 validation

Added new helper method validate() into the Form class which iterates over each Element and validates them using the validator component from Symfony2, then returns the error messages for each.

To add a constraint to an Element, you call Element::addConstraint(Constraint $constraint) and the library will do the rest of the work.

Besides that there's some PHPUnit fixes.