Add refactoring in the controller generator

Call `respond_to?(:before_action)` to `ActionController::Base` instead of
call it to `ApplicationController` avoiding ask to ApplicationController
if it is defined.

Kudos to @lucasmazza
Merge pull request #71 from MarceloCajueiro/refectoring_controller_generator

Add refactoring in the controller generator