improve the way to load DebugKit #493

also fix debugkit load on login page
formatting app_controller.php
remove component already defined in AppController