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.
Line is too long. [85/80]<br>Prefer double-quoted strings unless you need single quotes to avoid extra backslashes for escaping.