Fix to properly handle the response

- If a before action returns a response object, dispatcher do not
  execute the subsequent processes.
- If a after action returns a response object, dispatcher overwrite
  response that acquired before.