Added AgaviResponse::hasContent(), closes #1007