Merge "Move BitmapHandler::canRotate() call out of Setup.php"