adding function for smarter post_class

* detects image/no image
* adds category nicenames for styling convenience
* adds clearfix (cf) to all posts
* adds 'tile' to resources only