Don't send response from view.
Adjust tests
Merge pull request #5467 from cakephp/2.6-mediaview

Don't send response from view.