Fixed required controller generation in GenerateAdminCommand and it’s template

- fixed required controller generation in GenerateAdminCommand
- fixed admin template which was missing "extends Admin"