Refactor check if user can like an item

This cleans up the controller and catches the case where a user could be
voting for a content belonging to a link they submitted, in which case
we shouldn't enforce that we tracked the click.