default_responses: extract the if/action/else construct

This could potentially make the default_*_response methods
obsolete. Let's see what codeclimate says about it.