Support for YML schemas and phpName parameter

I mostly use YML schemas for model definition and phpName parameter to adjust the names of generated PHP classes, so I've added support for that.