Convert Doctrine and Validations "annotation" to "yml"

- To maintain compatibility with the HHVM