Update rewrite_to_chrome_style tool to also rename methods.
This patch also fixes a bug when the tool renamed expressions involving
nested name specifiers: given A::B::C, it incorrectly replaced `A` when
it should have replaced `C`.
BUG=none
Committed:
https://crrev.com/e48dd29de357ab9031c6d4e656d6bcefd51cfa40
Cr-Commit-Position: refs/heads/master@{#368445}