CE-108 Move ImageReview classification logic away from Perl script

DO NOT MERGE

See also: https://github.com/Wikia/backend/pull/92