Move added classes to post_class filter, and switch has-image to has-post-thumbnail to mirror core functionality. Fixes #18