Switch to approved status when liking an unapproved comment.
WP.com now supports approving a comment once it is liked.

Cleaned up some code.