An American arrested for defacing a sacred Tokyo shrine became the latest example of Japan's struggle to cope with misbehaving visitors amid a boom in inbound tourism.