add methods to BaseController for better rails integration

methods added were BaseController#action_name and #controller_name