Refactored all code except spec for user voting on a review.

Refactored a bunch of files. Spec for user voting on a review needs to be redone.
Prefer double-quoted strings unless you need single quotes to avoid extra backslashes for escaping.