fix BaseController#request to go through connection
add methods to BaseController for better rails integration

methods added were BaseController#action_name and #controller_name
Merge pull request #2 from pitr/controller-improvements

Controller improvements