ZendPHP generator fixes, cleaning and feature additions.