Added AgaviResponse::hasContent(), closes #1007
merge 7cac576b2d108b382f90a65f4b5611e61b5017f5, refs #1007