Fix fatal error on bundle and controller generate

Fix Symfony 2.2 migration
. setSkeletonDirs is missing from BundleGenerator
. renderFile need 4 arguments