Improvements for controller.

Changes:
 * wrapping rendered data in layout within Controller::invoke_action()
 * simplified Controller::content_for() by using the new
   Body::capture_for().