Lots of code style fixes. Includes a lot of quotation mark fixes.
Huge code cleanup. Implements a lot of r514 of Google Code project.