REST-104. Cleanup compilation warnings

issue: https://jira.kiji.org/browse/REST-104
review: https://review.kiji.org/r/1643