PSR-2 compatibility of generated code

* Fixed indentation/line breaks in generated form type class
* Added docblocks with @param/@return annotations